Top Description Inners Fields Constructors Methods
net.sf.ehcache.config

public Class PinningConfiguration

extends Object
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable

Class to hold the Pinning configuration.
Author
Ludovic Orban

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
PinningConfiguration.Store

Possible store values

Field Summary

Modifier and TypeField and Description
private volatile PinningConfiguration.Store

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PinningConfiguration.Store

Returns:

the lowest store from which elements must not be evicted from
getStore
()

Return the lowest store from which elements must not be evicted from

public void
setStore(String
the storage scope
store
)

Set the store scope

public PinningConfiguration

Returns:

this
store
(String
the store, encoded as a string
store
)

Set the lowest store from which elements must not be evicted from

public PinningConfiguration

Returns:

this
store
(PinningConfiguration.Store
the store
store
)

Set the lowest store from which elements must not be evicted from

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

storeback to summary
private volatile PinningConfiguration.Store store

Constructor Detail

PinningConfigurationback to summary
public PinningConfiguration()

Method Detail

getStoreback to summary
public PinningConfiguration.Store getStore()

Return the lowest store from which elements must not be evicted from

Returns:PinningConfiguration.Store

the lowest store from which elements must not be evicted from

setStoreback to summary
public void setStore(String store)

Set the store scope

Parameters
store:String

the storage scope

storeback to summary
public PinningConfiguration store(String store)

Set the lowest store from which elements must not be evicted from

Parameters
store:String

the store, encoded as a string

Returns:PinningConfiguration

this

storeback to summary
public PinningConfiguration store(PinningConfiguration.Store store)

Set the lowest store from which elements must not be evicted from

Parameters
store:PinningConfiguration.Store

the store

Returns:PinningConfiguration

this

net.sf.ehcache.config back to summary

public final Enum PinningConfiguration.Store

extends Enum<PinningConfiguration.Store>
Class Inheritance

Possible store values

Field Summary

Modifier and TypeField and Description
public static final PinningConfiguration.Store
INCACHE

Pin the elements in the cache

public static final PinningConfiguration.Store
LOCALMEMORY

Pin the elements in the local VM memory

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static PinningConfiguration.Store
public static PinningConfiguration.Store[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

INCACHEback to summary
public static final PinningConfiguration.Store INCACHE

Pin the elements in the cache

LOCALMEMORYback to summary
public static final PinningConfiguration.Store LOCALMEMORY

Pin the elements in the local VM memory

Constructor Detail

Storeback to summary
private Store()

Method Detail

valueOfback to summary
public static PinningConfiguration.Store valueOf(String name)
valuesback to summary
public static PinningConfiguration.Store[] values()