org.modeshape.graph.connector.base.cache
Class NodeCachePolicyChangedEvent<KeyType,NodeType extends Node>
java.lang.Object
org.modeshape.graph.connector.base.cache.NodeCachePolicyChangedEvent<KeyType,NodeType>
- Type Parameters:
KeyType
- the key for the cache entries, normally the natural unique identifier for the nodeNodeType
- the node type that is being cached
@Immutable
public class NodeCachePolicyChangedEvent<KeyType,NodeType extends Node>
- extends Object
Event indicating that a repository's node cache policy has been changed.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeCachePolicyChangedEvent
public NodeCachePolicyChangedEvent(NodeCachePolicy<KeyType,NodeType> oldPolicy,
NodeCachePolicy<KeyType,NodeType> newPolicy)
getOldPolicy
public NodeCachePolicy<KeyType,NodeType> getOldPolicy()
getNewPolicy
public NodeCachePolicy<KeyType,NodeType> getNewPolicy()
Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.