Class GridCacheInternalKeyImpl
- java.lang.Object
-
- org.apache.ignite.internal.processors.datastructures.GridCacheInternalKeyImpl
-
- All Implemented Interfaces:
Externalizable,Serializable,Cloneable,GridCacheInternal,GridCacheInternalKey
public class GridCacheInternalKeyImpl extends Object implements GridCacheInternalKey, Externalizable, Cloneable
Key is used for caching cache data structures.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GridCacheInternalKeyImpl()Empty constructor required forExternalizable.GridCacheInternalKeyImpl(String name, String grpName)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()booleanequals(Object obj)StringgroupName()inthashCode()Stringname()voidreadExternal(ObjectInput in)StringtoString()voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
GridCacheInternalKeyImpl
public GridCacheInternalKeyImpl(String name, String grpName)
Default constructor.- Parameters:
name- Name of cache data structure.grpName- Cache group name.
-
GridCacheInternalKeyImpl
public GridCacheInternalKeyImpl()
Empty constructor required forExternalizable.
-
-
Method Detail
-
name
public String name()
- Specified by:
namein interfaceGridCacheInternalKey- Returns:
- Name of cache data structure.
-
groupName
public String groupName()
- Specified by:
groupNamein interfaceGridCacheInternalKey- Returns:
- Name of cache group where data structure is stored.
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOException
-
-