|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - associated ResourcePool typepublic interface ResourceType<T extends ResourcePool>
A resource type.
ResourcePool| Nested Class Summary | |
|---|---|
static class |
ResourceType.Core
An enumeration of core ResourceTypes in Ehcache. |
| Method Summary | |
|---|---|
java.lang.Class<T> |
getResourcePoolClass()
Gets the ResourcePool type associated with this ResourceType. |
int |
getTierHeight()
Indicates the level this resource sits in the tiering system. |
boolean |
isPersistable()
Indicates whether this ResourceType supports persistence. |
boolean |
requiresSerialization()
Indicates whether this ResourceType requires serialization
support. |
| Method Detail |
|---|
java.lang.Class<T> getResourcePoolClass()
ResourcePool type associated with this ResourceType.
ResourcePool type associated with this typeboolean isPersistable()
ResourceType supports persistence.
Persistence in this context means that a ResourcePool of this ResourceType can be configured
so that data stored in it will survive a JVM restart.
true if it supports persistence, false otherwiseboolean requiresSerialization()
ResourceType requires serialization
support.
true if serializers are required, false otherwiseint getTierHeight()
Higher means resource is faster and less abundant, lower means resource is slower but potentially larger.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||