|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
DistributionManager | A component that manages the distribution of elements across a cache cluster |
TransactionLogger | Typically adding a command, the following pattern would be used:
if (txLogger.logIfNeeded(cmd)) {
// do NOT proceed with executing this command!
} else {
// proceed with executing this command as per normal!
}
When draining, the following pattern should be used:
List<WriteCommand> c = null;
while (txLogger.shouldDrainWithoutLock()) {
c = txLogger.drain();
applyCommands(c);
}
c = txLogger.drainAndLock();
applyCommands(c);
applyPendingPrepares(txLogger.getPendingPrepares());
txLogger.unlockAndDisable();
|
Class Summary | |
---|---|
DistributionManagerImpl | The default distribution manager implementation |
InvertedLeaveTask | A task to handle rehashing for when a node leaves the cluster |
JoinTask | 5. |
RehashTask | A task that handles the rehashing of data in the cache system wheh nodes join or leave the cluster. |
TransactionLoggerImpl | A transaction logger to log ongoing transactions in an efficient and thread-safe manner while a rehash is going on. |
Classes relating to the distributed cache mode.
|
Google Analytics | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |