public class BlockStreamTracker extends Object
Constructor and Description |
---|
BlockStreamTracker() |
Modifier and Type | Method and Description |
---|---|
static void |
readerClosed(BlockReader reader,
BlockStoreLocation location)
Called when an existing block reader is closed.
|
static void |
readerOpened(BlockReader reader,
BlockStoreLocation location)
Called with a new block reader.
|
static void |
registerListener(BlockClientListener listener)
Register a new listener.
|
static void |
unregisterListener(BlockClientListener listener)
Unregisters a listener.
|
static void |
writerClosed(BlockWriter writer,
BlockStoreLocation location)
Called when an existing block writer is closed.
|
static void |
writerOpened(BlockWriter writer,
BlockStoreLocation location)
Called with a new block writer.
|
public static void registerListener(BlockClientListener listener)
listener
- listenerpublic static void unregisterListener(BlockClientListener listener)
listener
- listenerpublic static void readerOpened(BlockReader reader, BlockStoreLocation location)
reader
- block readerlocation
- location of readpublic static void readerClosed(BlockReader reader, BlockStoreLocation location)
reader
- block readerlocation
- location of readpublic static void writerOpened(BlockWriter writer, BlockStoreLocation location)
writer
- block writerlocation
- location of writepublic static void writerClosed(BlockWriter writer, BlockStoreLocation location)
writer
- block writerlocation
- location of writeCopyright © 2023. All Rights Reserved.