Package ai.rapids.cudf
Interface MemoryBuffer.EventHandler
- Enclosing class:
- MemoryBuffer
public static interface MemoryBuffer.EventHandler
Interface to handle events for this MemoryBuffer. Only invoked during
close, hence `onClosed` is the only event.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onClosed
(int refCount) `onClosed` is invoked with the updated `refCount` during `close`.
-
Method Details
-
onClosed
void onClosed(int refCount) `onClosed` is invoked with the updated `refCount` during `close`. The last invocation of `onClosed` will be with `refCount=0`.- Parameters:
refCount
- - the updated ref count for this MemoryBuffer at the time of invocation
-