public interface CacheCallback
Modifier and Type | Method and Description |
---|---|
void |
close()
Called when the region containing this callback is closed or destroyed, when
the cache is closed, or when a callback is removed from a region
using an
AttributesMutator . |
void close()
AttributesMutator
.
Implementations should cleanup any external resources such as database connections. Any runtime exceptions this method throws will be logged.
It is possible for this method to be called multiple times on a single callback instance, so implementations must be tolerant of this.
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.