Package org.infinispan.distribution

Classes relating to the distributed cache mode.

See:
          Description

Interface Summary
ConsistentHash A consistent hash algorithm implementation.
DistributionManager A component that manages the distribution of elements across a cache cluster
RehashHandler // TODO: Manik: Document this
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 c = null; while (txLogger.size() > THRESHOLD) { c = txLogger.drain(); applyCommands(c); } c = txLogger.drainAndLock(); applyCommands(c); txLogger.unlockAndDisable();

 

Class Summary
AbstractConsistentHash // TODO: Manik: Document this
ConsistentHashHelper // TODO: Manik: Document this
DefaultConsistentHash  
DefaultConsistentHash.Externalizer  
DistributionManagerImpl The default distribution manager implementation
JoinTask 5.
LeaveTask A task to handle rehashing for when a node leaves the cluster
RehashTask // TODO: Manik: Document this
TransactionLoggerImpl // TODO: Manik: Document this
UnionConsistentHash A delegating wrapper that locates keys by getting a union of locations reported by two other ConsistentHash implementations it delegates to.
UnionConsistentHash.Externalizer  
 

Package org.infinispan.distribution Description

Classes relating to the distributed cache mode.


Google Analytics

Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.