Package net.sf.ehcache.config
Class PinningConfiguration
- java.lang.Object
-
- net.sf.ehcache.config.PinningConfiguration
-
- All Implemented Interfaces:
java.lang.Cloneable
public class PinningConfiguration extends java.lang.Object implements java.lang.CloneableClass to hold the Pinning configuration.- Author:
- Ludovic Orban
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPinningConfiguration.StorePossible store values
-
Constructor Summary
Constructors Constructor Description PinningConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PinningConfiguration.StoregetStore()Return the lowest store from which elements must not be evicted fromvoidsetStore(java.lang.String store)Set the store scopePinningConfigurationstore(java.lang.String store)Set the lowest store from which elements must not be evicted fromPinningConfigurationstore(PinningConfiguration.Store store)Set the lowest store from which elements must not be evicted from
-
-
-
Method Detail
-
setStore
public void setStore(java.lang.String store)
Set the store scope- Parameters:
store- the storage scope
-
store
public PinningConfiguration store(java.lang.String store)
Set the lowest store from which elements must not be evicted from- Parameters:
store- the store, encoded as a string- Returns:
- this
-
store
public PinningConfiguration store(PinningConfiguration.Store store)
Set the lowest store from which elements must not be evicted from- Parameters:
store- the store- Returns:
- this
-
getStore
public PinningConfiguration.Store getStore()
Return the lowest store from which elements must not be evicted from- Returns:
- the lowest store from which elements must not be evicted from
-
-