com.thimbleware.jmemcached
Class CacheImpl.DelayedMCElement

java.lang.Object
  extended by com.thimbleware.jmemcached.CacheImpl.DelayedMCElement
All Implemented Interfaces:
java.lang.Comparable<java.util.concurrent.Delayed>, java.util.concurrent.Delayed
Enclosing class:
CacheImpl

protected static class CacheImpl.DelayedMCElement
extends java.lang.Object
implements java.util.concurrent.Delayed

Delayed key blocks get processed occasionally.


Constructor Summary
CacheImpl.DelayedMCElement(CacheElement element)
           
 
Method Summary
 int compareTo(java.util.concurrent.Delayed delayed)
           
 long getDelay(java.util.concurrent.TimeUnit timeUnit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheImpl.DelayedMCElement

public CacheImpl.DelayedMCElement(CacheElement element)
Method Detail

getDelay

public long getDelay(java.util.concurrent.TimeUnit timeUnit)
Specified by:
getDelay in interface java.util.concurrent.Delayed

compareTo

public int compareTo(java.util.concurrent.Delayed delayed)
Specified by:
compareTo in interface java.lang.Comparable<java.util.concurrent.Delayed>


Copyright © 2008-2011 ThimbleWare. All Rights Reserved.