Package org.infinispan.xsite.irac
Class IracManagerKeyInfoImpl
- java.lang.Object
-
- org.infinispan.xsite.irac.IracManagerKeyInfoImpl
-
- All Implemented Interfaces:
IracManagerKeyInfo
public class IracManagerKeyInfoImpl extends Object implements IracManagerKeyInfo
Default implementation ofIracManagerKeyInfo
.- Since:
- 14
- Author:
- Pedro Ruivo
-
-
Constructor Summary
Constructors Constructor Description IracManagerKeyInfoImpl(int segment, Object key, Object owner)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Object
getKey()
Object
getOwner()
int
getSegment()
int
hashCode()
static IracManagerKeyInfo
readFrom(ObjectInput input)
static void
writeTo(ObjectOutput output, IracManagerKeyInfo keyInfo)
-
-
-
Method Detail
-
getKey
public Object getKey()
- Specified by:
getKey
in interfaceIracManagerKeyInfo
- Returns:
- The key.
-
getOwner
public Object getOwner()
- Specified by:
getOwner
in interfaceIracManagerKeyInfo
- Returns:
- The owner who updated the key.
-
getSegment
public int getSegment()
- Specified by:
getSegment
in interfaceIracManagerKeyInfo
- Returns:
- The key's segment.
-
writeTo
public static void writeTo(ObjectOutput output, IracManagerKeyInfo keyInfo) throws IOException
- Throws:
IOException
-
readFrom
public static IracManagerKeyInfo readFrom(ObjectInput input) throws IOException, ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
-
-