Package org.idempiere.cache
Class IntPOCopyCache<K,V extends PO>
- All Implemented Interfaces:
Serializable
,Map<Integer,
,V> CacheInterface
POCopyCache key by Integer record id
- Author:
- hengsin
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.compiere.util.CCache
cache, DEFAULT_EXPIRE_MINUTE, nullList
-
Constructor Summary
ConstructorDescriptionIntPOCopyCache
(String name, int initialCapacity) IntPOCopyCache
(String name, int initialCapacity, int expireMinutes) IntPOCopyCache
(String name, int initialCapacity, int expireMinutes, boolean distributed) IntPOCopyCache
(String name, int initialCapacity, int expireMinutes, boolean distributed, int maxSize) IntPOCopyCache
(String tableName, String name, int initialCapacity) IntPOCopyCache
(String tableName, String name, int initialCapacity, boolean distributed) IntPOCopyCache
(String tableName, String name, int initialCapacity, int expireMinutes, boolean distributed) IntPOCopyCache
(String tableName, String name, int initialCapacity, int expireMinutes, boolean distributed, int maxSize) -
Method Summary
Methods inherited from class org.compiere.util.CCache
addVetoableChangeListener, clear, containsKey, containsValue, entrySet, getExpireMinutes, getHit, getMaxSize, getMiss, getName, getTableName, isDistributed, isEmpty, isExpire, isReset, keySet, newRecord, putAll, remove, removeVetoableChangeListener, reset, setExpireMinutes, setUsed, size, sizeNoExpire, toString, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
IntPOCopyCache
public IntPOCopyCache(String name, int initialCapacity, int expireMinutes, boolean distributed, int maxSize) - Parameters:
name
-initialCapacity
-expireMinutes
-distributed
-maxSize
-
-
IntPOCopyCache
- Parameters:
name
-initialCapacity
-expireMinutes
-distributed
-
-
IntPOCopyCache
- Parameters:
name
-initialCapacity
-expireMinutes
-
-
IntPOCopyCache
- Parameters:
name
-initialCapacity
-
-
IntPOCopyCache
- Parameters:
tableName
-name
-initialCapacity
-distributed
-
-
IntPOCopyCache
public IntPOCopyCache(String tableName, String name, int initialCapacity, int expireMinutes, boolean distributed, int maxSize) - Parameters:
tableName
-name
-initialCapacity
-expireMinutes
-distributed
-maxSize
-
-
IntPOCopyCache
public IntPOCopyCache(String tableName, String name, int initialCapacity, int expireMinutes, boolean distributed) - Parameters:
tableName
-name
-initialCapacity
-expireMinutes
-distributed
-
-
IntPOCopyCache
- Parameters:
tableName
-name
-initialCapacity
-
-
-
Method Details
-
reset
public int reset(int recordId) Description copied from interface:CacheInterface
Reset Cache by record id
-