Package org.infinispan.xsite.irac
Class IracManagerKeyInfoImpl
java.lang.Object
org.infinispan.xsite.irac.IracManagerKeyInfoImpl
- All Implemented Interfaces:
IracManagerKeyInfo
Default implementation of
IracManagerKeyInfo
.- Since:
- 14
- Author:
- Pedro Ruivo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getKey()
getOwner()
int
int
hashCode()
static IracManagerKeyInfo
readFrom
(ObjectInput input) static void
writeTo
(ObjectOutput output, IracManagerKeyInfo keyInfo)
-
Constructor Details
-
IracManagerKeyInfoImpl
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceIracManagerKeyInfo
- Returns:
- The key.
-
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.
-
equals
-
hashCode
public int hashCode() -
writeTo
- Throws:
IOException
-
readFrom
public static IracManagerKeyInfo readFrom(ObjectInput input) throws IOException, ClassNotFoundException - Throws:
IOException
ClassNotFoundException
-