com.taobao.common.store.journal.impl
类 NotifyEldestEntryHandler

java.lang.Object
  继承者 com.taobao.common.store.journal.impl.NotifyEldestEntryHandler
所有已实现的接口:
LRUHashMap.EldestEntryHandler<BytesKey,OpItem>

public class NotifyEldestEntryHandler
extends Object
implements LRUHashMap.EldestEntryHandler<BytesKey,OpItem>

从以下版本开始:
1.0, 2009-10-20 上午11:17:23
作者:
boyan

构造方法摘要
NotifyEldestEntryHandler(int capacity, String cacheFilePath)
           
 
方法摘要
 void close()
           
 OpItemHashMap getDiskMap()
           
 boolean process(Map.Entry<BytesKey,OpItem> eldest)
           
 void setDiskMap(OpItemHashMap diskMap)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

NotifyEldestEntryHandler

public NotifyEldestEntryHandler(int capacity,
                                String cacheFilePath)
                         throws IOException
抛出:
IOException
方法详细信息

getDiskMap

public OpItemHashMap getDiskMap()

setDiskMap

public void setDiskMap(OpItemHashMap diskMap)

close

public void close()
           throws IOException
抛出:
IOException

process

public boolean process(Map.Entry<BytesKey,OpItem> eldest)
指定者:
接口 LRUHashMap.EldestEntryHandler<BytesKey,OpItem> 中的 process


Copyright © 2010–2013. All rights reserved.