|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ParallelStore
Denotes a storage component that partitions transactions into disjoint sets.
| Method Summary | |
|---|---|
int |
getMaxOfflineInterval()
Returns the maximum number of seconds to do a clean shutdown. |
java.lang.String |
getPartitionerClass()
Returns the class used for partitioning transactions across queues. |
int |
getPartitions()
Returns the number of partitions for events, i.e., channels. |
int |
getSyncInterval()
Returns the number of events between sync intervals. |
void |
insertStopEvent()
Inserts stop control event after next complete transaction. |
void |
insertWatchSyncEvent(WatchPredicate<ReplDBMSHeader> predicate)
Inserts watch synchronization event after next complete transaction that matches the provided predicate. |
void |
setMaxOfflineInterval(int maxOfflineInterval)
Sets the maximum number of seconds for a clean shutdown. |
void |
setMaxSize(int size)
Returns the maximum size of individual queues. |
void |
setPartitionerClass(java.lang.String partitionerClass)
Sets the class used for partitioning transactions across queues. |
void |
setPartitions(int partitions)
Sets the number of queue partitions, i.e., channels. |
void |
setSyncInterval(int syncInterval)
Sets the number of events to process before generating an automatic control event if sync is enabled. |
| Methods inherited from interface com.continuent.tungsten.replicator.storage.Store |
|---|
getMaxStoredSeqno, getMinStoredSeqno, getName, setName, status |
| Methods inherited from interface com.continuent.tungsten.replicator.plugin.ReplicatorPlugin |
|---|
configure, prepare, release |
| Method Detail |
|---|
void setMaxSize(int size)
void setPartitions(int partitions)
int getPartitions()
java.lang.String getPartitionerClass()
void setPartitionerClass(java.lang.String partitionerClass)
int getSyncInterval()
void setSyncInterval(int syncInterval)
int getMaxOfflineInterval()
void setMaxOfflineInterval(int maxOfflineInterval)
void insertStopEvent()
throws java.lang.InterruptedException
java.lang.InterruptedException
void insertWatchSyncEvent(WatchPredicate<ReplDBMSHeader> predicate)
throws java.lang.InterruptedException
java.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||