com.taobao.common.store.journal
接口 IndexMap

所有已知实现类:
ConcurrentIndexMap, LRUIndexMap

public interface IndexMap

索引Map

从以下版本开始:
1.0, 2009-10-20 上午10:49:42
作者:
boyan

方法摘要
 void close()
           
 boolean containsKey(BytesKey key)
           
 OpItem get(BytesKey key)
           
 Iterator<BytesKey> keyIterator()
           
 void put(BytesKey key, OpItem opItem)
           
 void putAll(Map<BytesKey,OpItem> map)
           
 void remove(BytesKey key)
           
 int size()
           
 

方法详细信息

put

void put(BytesKey key,
         OpItem opItem)

remove

void remove(BytesKey key)

get

OpItem get(BytesKey key)

size

int size()

containsKey

boolean containsKey(BytesKey key)

keyIterator

Iterator<BytesKey> keyIterator()

putAll

void putAll(Map<BytesKey,OpItem> map)

close

void close()
           throws IOException
抛出:
IOException


Copyright © 2010–2013. All rights reserved.