Package org.infinispan.metadata.impl
Class IracMetadata
- java.lang.Object
-
- org.infinispan.metadata.impl.IracMetadata
-
@ProtoTypeId(1009) public class IracMetadata extends Object
The metadata stored for an entry needed for IRAC (async cross-site replication).- Since:
- 11.0
- Author:
- Pedro Ruivo
-
-
Constructor Summary
Constructors Constructor Description IracMetadata(String site, IracEntryVersion version)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetSite()IracEntryVersiongetVersion()inthashCode()static IracMetadatareadFrom(ObjectInput in)StringtoString()voidwriteTo(ObjectOutput out)static voidwriteTo(ObjectOutput output, IracMetadata metadata)
-
-
-
Constructor Detail
-
IracMetadata
@ProtoFactory public IracMetadata(String site, IracEntryVersion version)
-
-
Method Detail
-
writeTo
public static void writeTo(ObjectOutput output, IracMetadata metadata) throws IOException
- Throws:
IOException
-
readFrom
public static IracMetadata readFrom(ObjectInput in) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
getSite
@ProtoField(number=1) public String getSite()
-
getVersion
@ProtoField(number=2) public IracEntryVersion getVersion()
-
writeTo
public void writeTo(ObjectOutput out) throws IOException
- Throws:
IOException
-
-