public class TicklerKey
extends java.lang.Object
implements java.io.Serializable, com.ibm.commerce.datatype.Scrubbable, com.ibm.websphere.cache.Sizeable
Modifier and Type | Field and Description |
---|---|
java.lang.Long | ticklerId
A primary key value.
|
Constructor and Description |
---|
TicklerKey()
Default constructor
|
TicklerKey(java.lang.Long argTicklerId)
Initialize a key from the passed values
|
Modifier and Type | Method and Description |
---|---|
boolean | equals(java.lang.Object o)
Return true if if the specified object is equal to this object.
|
int | getMemorySizeExcludingObjectsToScrub()
Returns the approximate size in bytes of this object, not including the sizes of the objects returned by the getObjectsToScrub.
|
long | getObjectSize()
Returns the estimated footprint size in bytes of this object and the objects it contains.
|
java.util.ArrayList | getObjectsToScrub()
Returns a list of objects that should be replaced with equivalent objects from the Scrubb cache, or should be placed in the Scrubb cache if no equivalent object is yet in the cache.>/p>
|
int | hashCode()
Returns the hash code.
|
void | setScrubbedObjects(java.util.List alistScrubbedObjects)
Provides a list of "scrubbed" objects that should replace the objects provided by a previous call to the getObjectsToScrub method.
|
java.lang.String | toString()
Return a string representation of this object suitable for debug information.
|
public TicklerKey()
public TicklerKey(java.lang.Long argTicklerId)
public long getObjectSize()
public int getMemorySizeExcludingObjectsToScrub()
Returns the approximate size in bytes of this object, not including the sizes of the objects returned by the getObjectsToScrub.
public java.util.ArrayList getObjectsToScrub()
Returns a list of objects that should be replaced with equivalent objects from the Scrubb cache, or should be placed in the Scrubb cache if no equivalent object is yet in the cache.>/p>
The caller must be able to promise that this object and all its properties, recursively, will never be modified again, so that it and its properties can be shared by other objects.
This method is intended to be called by the Scrubb class. Any other use is not supported.
public void setScrubbedObjects(java.util.List alistScrubbedObjects)
Provides a list of "scrubbed" objects that should replace the objects provided by a previous call to the getObjectsToScrub method.
The caller must be able to promise that this object and all its properties, recursively, will never be modified again, so that it and its properties can be shared by other objects.
This method is intended to be called by the Scrubb class. Any other use is not supported.
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String toString()