Class XSiteState
- java.lang.Object
-
- org.infinispan.xsite.statetransfer.XSiteState
-
public class XSiteState extends Object
Represents the state of a single key to be sent to a backup site. It contains the only needed information, i.e., the key, current value and associated metadata.- Since:
- 7.0
- Author:
- Pedro Ruivo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXSiteState.XSiteStateExternalizer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XSiteStatefromCacheLoader(MarshalledEntry marshalledEntry)static XSiteStatefromDataContainer(InternalCacheEntry entry)Objectkey()Metadatametadata()StringtoString()Objectvalue()
-
-
-
Method Detail
-
key
public final Object key()
-
value
public final Object value()
-
metadata
public final Metadata metadata()
-
fromDataContainer
public static XSiteState fromDataContainer(InternalCacheEntry entry)
-
fromCacheLoader
public static XSiteState fromCacheLoader(MarshalledEntry marshalledEntry)
-
-