org.terracotta.modules.ehcache.writebehind
Class KeyBasedOperationWrapper

java.lang.Object
  extended by org.terracotta.modules.ehcache.writebehind.KeyBasedOperationWrapper
All Implemented Interfaces:
net.sf.ehcache.writer.writebehind.operations.KeyBasedOperation

public class KeyBasedOperationWrapper
extends Object
implements net.sf.ehcache.writer.writebehind.operations.KeyBasedOperation

An implementation of KeyBasedOperation that simply stores the values it has to return

Version:
$Id: KeyBasedOperationWrapper.java 23027 2010-05-21 14:24:50Z hhuynh $
Author:
Geert Bevin

Constructor Summary
KeyBasedOperationWrapper(Object key, long creationTime)
           
 
Method Summary
 long getCreationTime()
           
 Object getKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyBasedOperationWrapper

public KeyBasedOperationWrapper(Object key,
                                long creationTime)
Method Detail

getKey

public Object getKey()
Specified by:
getKey in interface net.sf.ehcache.writer.writebehind.operations.KeyBasedOperation

getCreationTime

public long getCreationTime()
Specified by:
getCreationTime in interface net.sf.ehcache.writer.writebehind.operations.KeyBasedOperation


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.