org.garret.perst
Interface ReplicationMasterStorage

All Superinterfaces:
Storage

public interface ReplicationMasterStorage
extends Storage

Storage performing replication of changed pages to specified slave nodes.


Field Summary
 
Fields inherited from interface org.garret.perst.Storage
COOPERATIVE_TRANSACTION, DEFAULT_PAGE_POOL_SIZE, EXCLUSIVE_TRANSACTION, INFINITE_PAGE_POOL, REPLICATION_SLAVE_TRANSACTION, SERIALIZABLE_TRANSACTION
 
Method Summary
 int getNumberOfAvailableHosts()
          Get number of currently available slave nodes
 
Methods inherited from interface org.garret.perst.Storage
backup, beginThreadTransaction, close, commit, createBitIndex, createBlob, createFieldIndex, createFieldIndex, createIndex, createIndex, createLink, createLink, createPatriciaTrie, createQuery, createRelation, createScalableSet, createScalableSet, createSet, createSortedCollection, createSpatialIndex, createSpatialIndexR2, createThickIndex, createTimeSeries, deallocateObject, endThreadTransaction, endThreadTransaction, exportXML, gc, getClassLoader, getDatabaseSize, getMemoryDump, getObjectByOID, getProperties, getProperty, getRoot, getUsedSize, importXML, isOpened, join, loadObject, lockObject, makePersistent, merge, modifyObject, open, open, open, open, open, rollback, rollbackThreadTransaction, setClassLoader, setGcThreshold, setListener, setProperties, setProperty, setRoot, storeFinalizedObject, storeObject
 

Method Detail

getNumberOfAvailableHosts

int getNumberOfAvailableHosts()
Get number of currently available slave nodes

Returns:
number of online replication slaves