public class DefaultDeploymentCache<T> extends Object implements DeploymentCache<T>
Constructor and Description |
---|
DefaultDeploymentCache()
Cache with no limit
|
DefaultDeploymentCache(int limit)
Cache which has a hard limit: no more elements will be cached than the limit.
|
public DefaultDeploymentCache()
public DefaultDeploymentCache(int limit)
public T get(String id)
get
in interface DeploymentCache<T>
public void add(String id, T obj)
add
in interface DeploymentCache<T>
public void remove(String id)
remove
in interface DeploymentCache<T>
public void clear()
clear
in interface DeploymentCache<T>
public int size()
Copyright © 2016 Alfresco. All rights reserved.