K - type of the identifier of this cacheable objectpublic interface Cacheable<K extends Serializable> extends Serializable, Identifiable<K>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isModified()
Gets whether this object's internal state has been modified since
the last request to this method.
|
getIdboolean isModified()
Implementations must be aggressive about returning true if
they are uncertain about whether they have been modified; false
should only be returned if the implementing object is certain its
internal state has not been modified.
true if the state has been modified or the
implementing object does not know; false otherwise.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.