Package org.infinispan.rest.distribution
Class CacheDistributionRunnable
- java.lang.Object
-
- org.infinispan.rest.distribution.CacheDistributionRunnable
-
- All Implemented Interfaces:
Serializable
,Function<EmbeddedCacheManager,CacheDistributionInfo>
,SerializableFunction<EmbeddedCacheManager,CacheDistributionInfo>
@ProtoTypeId(6000) public final class CacheDistributionRunnable extends Object implements SerializableFunction<EmbeddedCacheManager,CacheDistributionInfo>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheDistributionRunnable(String cacheName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheDistributionInfo
apply(EmbeddedCacheManager manager)
String
cacheName()
-
-
-
Constructor Detail
-
CacheDistributionRunnable
@ProtoFactory public CacheDistributionRunnable(String cacheName)
-
-
Method Detail
-
apply
public CacheDistributionInfo apply(EmbeddedCacheManager manager)
- Specified by:
apply
in interfaceFunction<EmbeddedCacheManager,CacheDistributionInfo>
-
cacheName
@ProtoField(1) public String cacheName()
-
-