| 程序包 | 说明 |
|---|---|
| eventcenter.leveldb |
| 限定符和类型 | 方法和说明 |
|---|---|
EventSourceWrapper |
QueueMiddleComponent.peek()
return the head data, but not move read cursor
|
EventSourceWrapper |
QueueMiddleComponent.pop()
return the head data, and move read cursor ahead. if read cursor equals write cursor, it would return null.
|
EventSourceWrapper |
QueueMiddleComponent.pop(org.iq80.leveldb.WriteBatch wb) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected List<EventSourceWrapper> |
QueueMiddleComponent._peek(int bulkSize) |
List<EventSourceWrapper> |
LevelDBPersistenceAdapter.list(int batchSize) |
List<EventSourceWrapper> |
LevelDBPersistenceAdapter.list(int batchSize,
org.iq80.leveldb.DBIterator iterator) |
List<EventSourceWrapper> |
QueueMiddleComponent.peek(int bulkSize) |
List<EventSourceWrapper> |
QueueMiddleComponent.pop(int bulkSize) |
List<EventSourceWrapper> |
QueueMiddleComponent.pop(int bulkSize,
org.iq80.leveldb.WriteBatch wb)
return a batch head data, and move read cursor ahead. if read cursor equals write cursor, it would return min size data.
|
Copyright © 2018 Jue Ming. All rights reserved.