|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusteringDependentLogic
Abstractization for logic related to different clustering modes: replicated or distributed. This implements the Bridge pattern as described by the GoF: this plays the role of the Implementor and various LockingInterceptors are the Abstraction.
Nested Class Summary | |
---|---|
static class |
ClusteringDependentLogic.AbstractClusteringDependentLogic
|
static class |
ClusteringDependentLogic.DistributionLogic
This logic is used in distributed mode caches. |
static class |
ClusteringDependentLogic.InvalidationLogic
This logic is used in invalidation mode caches. |
static class |
ClusteringDependentLogic.LocalLogic
This logic is used in local mode caches. |
static class |
ClusteringDependentLogic.ReplicationLogic
This logic is used in replicated mode caches. |
Method Summary | |
---|---|
void |
commitEntry(CacheEntry entry,
EntryVersion newVersion,
boolean skipOwnershipCheck,
InvocationContext ctx)
|
EntryVersionsMap |
createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator,
TxInvocationContext context,
VersionedPrepareCommand prepareCommand)
|
Address |
getAddress()
|
Collection<Address> |
getOwners(Collection<Object> keys)
|
Address |
getPrimaryOwner(Object key)
|
boolean |
localNodeIsOwner(Object key)
|
boolean |
localNodeIsPrimaryOwner(Object key)
|
Method Detail |
---|
boolean localNodeIsOwner(Object key)
boolean localNodeIsPrimaryOwner(Object key)
Address getPrimaryOwner(Object key)
void commitEntry(CacheEntry entry, EntryVersion newVersion, boolean skipOwnershipCheck, InvocationContext ctx)
Collection<Address> getOwners(Collection<Object> keys)
EntryVersionsMap createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator, TxInvocationContext context, VersionedPrepareCommand prepareCommand)
Address getAddress()
|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |