public class ObjectMetadata
extends java.lang.Object
implements java.io.Serializable
Metadata describing a StateServer object including the set of user-defined index values defined for the object.
Metadata is initially established for an object by creating an emptyObjectMetadata
instance,
populating the appropriate metadata values and updating the metadata via
NamedCache.setMetadata(com.scaleoutsoftware.soss.client.CachedObjectId, com.scaleoutsoftware.soss.client.ObjectMetadata, boolean)
.Modifier and Type | Field and Description |
---|---|
protected IndexCollection |
_indexCollection |
Constructor and Description |
---|
ObjectMetadata()
Creates new empty instance.
|
Modifier and Type | Method and Description |
---|---|
IndexCollection |
getIndexCollection()
Returns the
IndexCollection of IndexValue s specified for this object. |
protected IndexCollection _indexCollection
public ObjectMetadata()
getIndexCollection()
to get an IndexCollection
which
can be then populated.public IndexCollection getIndexCollection()
IndexCollection
of IndexValue
s specified for this object.
This method should be used to retrieve a reference to an IndexCollection
for
population before setting an object's metadata.IndexCollection
of IndexValue
s specified for this object.