|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.clustered.common.ServerSideConfiguration.Pool
public static final class ServerSideConfiguration.Pool
The definition of a pool that can be shared by multiple caches.
Constructor Summary | |
---|---|
ServerSideConfiguration.Pool(long size)
Creates a new pool definition with the given size, consuming the default server resource. |
|
ServerSideConfiguration.Pool(long size,
java.lang.String serverResource)
Creates a new pool definition with the given size, consuming the given server resource. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getServerResource()
Returns the server resource consumed by this pool, or null if the default pool will be used. |
long |
getSize()
Returns the size of the pool in bytes. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServerSideConfiguration.Pool(long size, java.lang.String serverResource)
size
- pool sizeserverResource
- the server resource to consumepublic ServerSideConfiguration.Pool(long size)
size
- pool sizeMethod Detail |
---|
public long getSize()
public java.lang.String getServerResource()
null
if the default pool will be used.
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |