org.activiti.engine.impl.persistence.deploy
类 DefaultDeploymentCache<T>
java.lang.Object
org.activiti.engine.impl.persistence.deploy.DefaultDeploymentCache<T>
- 所有已实现的接口:
- DeploymentCache<T>
public class DefaultDeploymentCache<T>
- extends Object
- implements DeploymentCache<T>
Default cache: keep everything in memory, unless a limit is set.
- 作者:
- Joram Barrez
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cache
protected Map<String,T> cache
DefaultDeploymentCache
public DefaultDeploymentCache()
- Cache with no limit
DefaultDeploymentCache
public DefaultDeploymentCache(int limit)
- Cache which has a hard limit: no more elements will be cached than the limit.
get
public T get(String id)
- 指定者:
- 接口
DeploymentCache<T>
中的 get
add
public void add(String id,
T obj)
- 指定者:
- 接口
DeploymentCache<T>
中的 add
remove
public void remove(String id)
- 指定者:
- 接口
DeploymentCache<T>
中的 remove
clear
public void clear()
- 指定者:
- 接口
DeploymentCache<T>
中的 clear
size
public int size()
Copyright © 2013 Alfresco. All rights reserved.