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 class
XSiteState.XSiteStateExternalizer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XSiteState
fromCacheLoader(MarshalledEntry marshalledEntry)
static XSiteState
fromDataContainer(InternalCacheEntry entry)
Object
key()
Metadata
metadata()
String
toString()
Object
value()
-
-
-
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)
-
-