public interface BlobChangingCallback
Modifier and Type | Method and Description |
---|---|
void |
blobChanging(LocalAssignment assignment,
int port,
LocallyCachedBlob blob,
GoodToGo go)
Informs the listener that a blob has changed and is ready to update and replace a localized blob that has been marked as tied to the
life cycle of the worker process.
|
void blobChanging(LocalAssignment assignment, int port, LocallyCachedBlob blob, GoodToGo go)
If `go.getLatch()` is never called before the method completes it is assumed that the listener is good with the blob changing.
assignment
- the assignment this resource and callback are registered with.port
- the port that this resource and callback are registered with.blob
- the blob that is going to change.go
- a way to indicate if the listener is ready for the resource to change.Copyright © 2023 The Apache Software Foundation. All rights reserved.