Package org.compiere.util
Interface CacheInterface
-
- All Known Implementing Classes:
CCache,ImmutableIntPOCache,ImmutablePOCache,IntPOCopyCache,NaturalAccountMap,POCopyCache
public interface CacheInterfaceAdempiere Cache Interface- Version:
- $Id: CacheInterface.java,v 1.2 2006/07/30 00:54:35 jjanke Exp $
- Author:
- Jorg Janke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnewRecord(int record_ID)New record created notificationintreset()Reset Cacheintreset(int recordId)Reset Cache by record idintsize()Get Size of Cache
-
-
-
Method Detail
-
reset
int reset()
Reset Cache- Returns:
- number of items reset
-
reset
int reset(int recordId)
Reset Cache by record id- Parameters:
recordId-- Returns:
- number of items reset
-
size
int size()
Get Size of Cache- Returns:
- number of items
-
newRecord
void newRecord(int record_ID)
New record created notification- Parameters:
record_ID-
-
-