public interface BlockDeletionContext extends Closeable
Modifier and Type | Interface and Description |
---|---|
static interface |
BlockDeletionContext.BlockDeletionListener
Interface for block deletion listeners.
|
Modifier and Type | Method and Description |
---|---|
void |
registerBlockForDeletion(long blockId) |
default void |
registerBlocksForDeletion(Collection<Long> blockIds) |
default void registerBlocksForDeletion(Collection<Long> blockIds)
blockIds
- the blocks to be deleted when the context closesvoid registerBlockForDeletion(long blockId)
blockId
- the block to be deleted when the context closesCopyright © 2023. All Rights Reserved.