com.amazon.carbonado.repo.sleepycat
Interface CompactionCapability

All Superinterfaces:
Capability

public interface CompactionCapability
extends Capability

Capability to compact a BDB database. This capability is not supported by all versions of BDB.

Author:
Brian S O'Neill

Nested Class Summary
static interface CompactionCapability.Result<S extends Storable>
           
 
Method Summary
<S extends Storable>
CompactionCapability.Result<S>
compact(Class<S> storableType)
          Compact an entire BDB backed storage.
 

Method Detail

compact

<S extends Storable> CompactionCapability.Result<S> compact(Class<S> storableType)
                                                        throws RepositoryException
Compact an entire BDB backed storage. This call may be made within a transaction scope.

Parameters:
storableType - required storable type
Throws:
RepositoryException


Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.