Class SimpleLocality
java.lang.Object
org.wildfly.clustering.infinispan.distribution.SimpleLocality
- All Implemented Interfaces:
Locality
Simple
Locality implementation that uses a static value.- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleLocality
public SimpleLocality(boolean local)
-
-
Method Details
-
isLocal
Description copied from interface:LocalityIndicates whether the current node is the primary owner of the specified cache key. For local caches, this method will always return true.
-