Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.interceptors.locking
Class ClusteringDependentLogic.LocalLogic

java.lang.Object
  extended by org.infinispan.interceptors.locking.ClusteringDependentLogic.AbstractClusteringDependentLogic
      extended by org.infinispan.interceptors.locking.ClusteringDependentLogic.LocalLogic
All Implemented Interfaces:
ClusteringDependentLogic
Enclosing interface:
ClusteringDependentLogic

public static class ClusteringDependentLogic.LocalLogic
extends ClusteringDependentLogic.AbstractClusteringDependentLogic

This logic is used in local mode caches.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.infinispan.interceptors.locking.ClusteringDependentLogic
ClusteringDependentLogic.AbstractClusteringDependentLogic, ClusteringDependentLogic.DistributionLogic, ClusteringDependentLogic.InvalidationLogic, ClusteringDependentLogic.LocalLogic, ClusteringDependentLogic.ReplicationLogic
 
Field Summary
 
Fields inherited from class org.infinispan.interceptors.locking.ClusteringDependentLogic.AbstractClusteringDependentLogic
dataContainer, notifier
 
Constructor Summary
ClusteringDependentLogic.LocalLogic()
           
 
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)
           
 
Methods inherited from class org.infinispan.interceptors.locking.ClusteringDependentLogic.AbstractClusteringDependentLogic
init, notifyCommitEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusteringDependentLogic.LocalLogic

public ClusteringDependentLogic.LocalLogic()
Method Detail

localNodeIsOwner

public boolean localNodeIsOwner(Object key)

localNodeIsPrimaryOwner

public boolean localNodeIsPrimaryOwner(Object key)

getPrimaryOwner

public Address getPrimaryOwner(Object key)

getOwners

public Collection<Address> getOwners(Collection<Object> keys)

getAddress

public Address getAddress()

commitEntry

public void commitEntry(CacheEntry entry,
                        EntryVersion newVersion,
                        boolean skipOwnershipCheck,
                        InvocationContext ctx)

createNewVersionsAndCheckForWriteSkews

public EntryVersionsMap createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator,
                                                               TxInvocationContext context,
                                                               VersionedPrepareCommand prepareCommand)

Infinispan Distribution 5.2.6.Final-redhat-2

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