|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.scaleoutsoftware.soss.client.SossObjectDescriptor
public final class SossObjectDescriptor
Contains information necessary to insert an object into a NamedCache via a
bulk NamedCache.putAll(java.util.Map) operation.
| Constructor Summary | |
|---|---|
SossObjectDescriptor(Serializable object,
CreatePolicy policy,
ObjectMetadata metadata)
Creates a SossObjDescriptor class with the metadata and CreatePolicy information needed to
insert an object via a bulk put NamedCache.putAll(java.util.Map) operation. |
|
| Method Summary | |
|---|---|
Exception |
getInsertException()
Gets the exception encountered by a bulk add operation, or null if the object was added to the NamedCache successfully. |
ObjectMetadata |
getMetadata()
Gets metadata related to the object being inserted. |
Serializable |
getObject()
Gets the serializable object to insert into the NamedCache. |
CreatePolicy |
getPolicy()
Policy information for the object being inserted. |
void |
setMetadata(ObjectMetadata metadata)
|
void |
setObject(Serializable object)
|
void |
setPolicy(CreatePolicy policy)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SossObjectDescriptor(Serializable object,
CreatePolicy policy,
ObjectMetadata metadata)
SossObjDescriptor class with the metadata and CreatePolicy information needed to
insert an object via a bulk put NamedCache.putAll(java.util.Map) operation.
object - Object to insert into the NamedCache.policy - Policy information for the object being inserted.metadata - Metadata related to the object being inserted.| Method Detail |
|---|
public Serializable getObject()
public void setObject(Serializable object)
object - Serializable valuegetObject()public ObjectMetadata getMetadata()
public void setMetadata(ObjectMetadata metadata)
metadata - Metadata valuegetMetadata()public CreatePolicy getPolicy()
public void setPolicy(CreatePolicy policy)
policy - CreatePolicy valuegetPolicy()public Exception getInsertException()
null if the object was added to the NamedCache successfully.
This property can be checked after a NamedCache.add() call to see if the corresponding object
was inserted.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||