|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ehcache.clustered.client.config.builders.ClusteredResourcePoolBuilder
public final class ClusteredResourcePoolBuilder
Constructs a ResourcePool for a clustered resource.
| Method Summary | |
|---|---|
static ClusteredResourcePool |
clustered()
Creates a resource pool that inherits the resources already configured on the server. |
static DedicatedClusteredResourcePool |
clusteredDedicated(long size,
org.ehcache.config.units.MemoryUnit unit)
Creates a new clustered resource pool using dedicated clustered resources. |
static DedicatedClusteredResourcePool |
clusteredDedicated(java.lang.String fromResource,
long size,
org.ehcache.config.units.MemoryUnit unit)
Creates a new clustered resource pool using dedicated clustered resources. |
static SharedClusteredResourcePool |
clusteredShared(java.lang.String sharedResource)
Creates a new resource pool based on the provided parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DedicatedClusteredResourcePool clusteredDedicated(long size,
org.ehcache.config.units.MemoryUnit unit)
size - the sizeunit - the unit for the size
public static DedicatedClusteredResourcePool clusteredDedicated(java.lang.String fromResource,
long size,
org.ehcache.config.units.MemoryUnit unit)
fromResource - the name of the server-based resource from which this dedicated resource pool
is reserved; may be nullsize - the sizeunit - the unit for the sizepublic static SharedClusteredResourcePool clusteredShared(java.lang.String sharedResource)
sharedResource - the non-null name of the server-based resource pool whose space is shared
by this poolpublic static ClusteredResourcePool clustered()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||