Top Description Fields Constructors Methods
net.sf.ehcache.store.compound

public Class NullReadWriteCopyStrategy

extends Object
implements ReadWriteCopyStrategy<Element>
Class Inheritance
All Implemented Interfaces
net.sf.ehcache.store.compound.ReadWriteCopyStrategy, java.io.Serializable
Imports
net.sf.ehcache.Element

No-op copy strategy
Author
teck

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Element
copyForRead(Element
the storage-ready copy
storedValue
,
ClassLoader loader)

Implements net.sf.ehcache.store.compound.ReadWriteCopyStrategy.copyForRead.

Reconstruct an object from its storage-ready copy.
public Element
copyForWrite(Element
the value to copy
value
,
ClassLoader loader)

Implements net.sf.ehcache.store.compound.ReadWriteCopyStrategy.copyForWrite.

Deep copies some object and returns an internal storage-ready copy
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides net.sf.ehcache.store.compound.ReadWriteCopyStrategy.serialVersionUID.

Constructor Detail

NullReadWriteCopyStrategyback to summary
public NullReadWriteCopyStrategy()

Method Detail

copyForReadback to summary
public Element copyForRead(Element storedValue, ClassLoader loader)

Implements net.sf.ehcache.store.compound.ReadWriteCopyStrategy.copyForRead.

Doc from net.sf.ehcache.store.compound.ReadWriteCopyStrategy.copyForRead.

Reconstruct an object from its storage-ready copy.

Parameters
storedValue:Element

the storage-ready copy

Returns:Element

the original object

copyForWriteback to summary
public Element copyForWrite(Element value, ClassLoader loader)

Implements net.sf.ehcache.store.compound.ReadWriteCopyStrategy.copyForWrite.

Doc from net.sf.ehcache.store.compound.ReadWriteCopyStrategy.copyForWrite.

Deep copies some object and returns an internal storage-ready copy

Parameters
value:Element

the value to copy

Returns:Element

the storage-ready copy