org.modeshape.graph.connector.base.cache
Interface NodeCachePolicyChangedListener<KeyType,NodeType extends Node>
- Type Parameters:
KeyType
- the key for the cache entries, normally the natural unique identifier for the nodeNodeType
- the node type that is being cached
- All Known Subinterfaces:
- NodeCachingWorkspace<KeyType,NodeType>
- All Known Implementing Classes:
- DiskWorkspace, SvnWorkspace
public interface NodeCachePolicyChangedListener<KeyType,NodeType extends Node>
Listener for NodeCachePolicyChangedEvents
.
cachePolicyChanged
void cachePolicyChanged(NodeCachePolicyChangedEvent<KeyType,NodeType> event)
- Handler for
NodeCachePolicyChangedEvents
. This handler is invoked after the policy has
been changed. This method has no mechanism to veto or reject the policy change.
- Parameters:
event
- the event containing the change information; may not be null
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.