Package alluxio.worker.block.io
Interface BlockClientListener
-
public interface BlockClientListener
An interface to listen for creation and destruction of block clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clientClosed(BlockClient blockClient, BlockStoreLocation location)
Called when an open block client is closed.void
clientOpened(BlockClient blockClient, BlockStoreLocation location)
Called when a new block client is opened.
-
-
-
Method Detail
-
clientOpened
void clientOpened(BlockClient blockClient, BlockStoreLocation location)
Called when a new block client is opened.- Parameters:
blockClient
- the block read/write clientlocation
- the block location
-
clientClosed
void clientClosed(BlockClient blockClient, BlockStoreLocation location)
Called when an open block client is closed.- Parameters:
blockClient
- the block read/write clientlocation
- the block location
-
-