org.wso2.carbon.registry.core.caching
Class RegistryCacheEntry

java.lang.Object
  extended by org.wso2.carbon.registry.core.caching.RegistryCacheEntry
All Implemented Interfaces:
Serializable

public class RegistryCacheEntry
extends Object
implements Serializable

The container class for the cache entry used in the registry kernel

See Also:
Serialized Form

Constructor Summary
RegistryCacheEntry(int pathId)
          Creates a new entry to be cached.
RegistryCacheEntry(String pathValue)
          Creates a new entry to be cached.
 
Method Summary
 String getPath()
          Method to obtain the path.
 int getPathId()
          Method to obtain the identifier of the path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryCacheEntry

public RegistryCacheEntry(int pathId)
Creates a new entry to be cached.

Parameters:
pathId - the identifier of the path.

RegistryCacheEntry

public RegistryCacheEntry(String pathValue)
Creates a new entry to be cached.

Parameters:
pathValue - the path.
Method Detail

getPathId

public int getPathId()
Method to obtain the identifier of the path.

Returns:
the identifier of the path.

getPath

public String getPath()
Method to obtain the path.

Returns:
the path.


Copyright © 2014 WSO2 Inc. All Rights Reserved.