com.sapportals.wcm.util.cache

Interface ICacheNode


public interface ICacheNode

Keeps information about dependencies between cache entries.

When objects implementing this interface are inserted in an ICache, the dependency information is used to remove dependant cache entries on call of any removeEntry method.

Copyright (c) SAP AG 2001-2002


Method Summary
 String getIdentity()
          Get the identity of the node, or null if not defined.
 List getMasterKeys()
          Get list of keys which, when removed, remove also this node.
 List getSlaveKeys()
          Get list of keys which are removed, when this node is removed.
 

Method Detail

getMasterKeys

public List getMasterKeys()
Get list of keys which, when removed, remove also this node.

Returns:
List of Strings.

getSlaveKeys

public List getSlaveKeys()
Get list of keys which are removed, when this node is removed.

Returns:
List of Strings.

getIdentity

public String getIdentity()
Get the identity of the node, or null if not defined. On removal of a node with identity, all nodes with the same identity are removed as well.

Returns:
node identity or null if not defined.


Copyright 2006 SAP AG Complete Copyright Notice