Top Description Fields Constructors Methods
net.sf.ehcache.writer.writebehind

public final Class CastingOperationConverter

extends Object
implements OperationConverter<KeyBasedOperation>
Class Inheritance
All Implemented Interfaces
net.sf.ehcache.writer.writebehind.OperationConverter
Imports
net.sf.ehcache.writer.writebehind.operations.KeyBasedOperation

A converter that simply casts an existing KeyBasedOperation instance.
Author
Geert Bevin
Version
$Id: CastingOperationConverter.java 5594 2012-05-07 16:04:31Z cdennis $

Field Summary

Modifier and TypeField and Description
private static final CastingOperationConverter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public KeyBasedOperation
convert(Object
the object to convert
source
)

Implements net.sf.ehcache.writer.writebehind.OperationConverter.convert.

Convert an arbitrary object
public static CastingOperationConverter
getInstance()

Singleton retriever static method

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static final CastingOperationConverter INSTANCE

Constructor Detail

CastingOperationConverterback to summary
private CastingOperationConverter()

Method Detail

convertback to summary
public KeyBasedOperation convert(Object source)

Implements net.sf.ehcache.writer.writebehind.OperationConverter.convert.

Doc from net.sf.ehcache.writer.writebehind.OperationConverter.convert.

Convert an arbitrary object

Parameters
source:Object

the object to convert

Returns:KeyBasedOperation

the converted operation instance

getInstanceback to summary
public static CastingOperationConverter getInstance()

Singleton retriever static method