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
从类 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.