|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ResourcePool
A resource providing capacity to be used by Caches.
Implementations must be immutable.
| Method Summary | |
|---|---|
ResourceType<?> |
getType()
Get the ResourceType. |
boolean |
isPersistent()
Indicates whether the underlying resource is persistent. |
void |
validateUpdate(ResourcePool newPool)
Validates whether or not a new ResourcePool can replace this ResourcePool on a running
Cache. |
| Method Detail |
|---|
ResourceType<?> getType()
ResourceType.
boolean isPersistent()
Persistence in this context means that data stored will survive a JVM restart, unless destroyed.
true if persistent, false otherwisevoid validateUpdate(ResourcePool newPool)
ResourcePool can replace this ResourcePool on a running
Cache.
newPool - the pool which is the candidate for replacing this ResourcePool
java.lang.IllegalArgumentException - if newPool is not a valid replacement for this ResourcePool
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||