Class GridCacheSetHeader
- java.lang.Object
-
- org.apache.ignite.internal.processors.datastructures.GridCacheSetHeader
-
- All Implemented Interfaces:
Externalizable,Serializable,GridCacheInternal
public class GridCacheSetHeader extends Object implements GridCacheInternal, Externalizable
Cache set header.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GridCacheSetHeader()Required byExternalizable.GridCacheSetHeader(IgniteUuid id, boolean collocated, boolean separated)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancollocated()IgniteUuidid()voidreadExternal(ObjectInput in)booleanseparated()StringtoString()voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
GridCacheSetHeader
public GridCacheSetHeader()
Required byExternalizable.
-
GridCacheSetHeader
public GridCacheSetHeader(IgniteUuid id, boolean collocated, boolean separated)
- Parameters:
id- Set UUID.collocated- Collocation flag.separated- Separated cache flag.
-
-
Method Detail
-
id
public IgniteUuid id()
- Returns:
- Set unique ID.
-
collocated
public boolean collocated()
- Returns:
- Collocation flag.
-
separated
public boolean separated()
- Returns:
- Separated cache flag.
-
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
-
-