| Modifier and Type | Field and Description |
|---|---|
static int |
BATCH_COUNT |
static int |
DEBUG_CACHE_MISS_SIZE |
static int |
DEBUG_WRITE_SIZE |
| Constructor and Description |
|---|
Ehcache(Integer maxCacheActivateSize)
Deprecated.
|
Ehcache(Integer maxCacheActivateSize,
Integer maxCacheActivateBatchCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called when the excel read is complete
|
String |
get(Integer key)
Get value
|
void |
init(AnalysisContext analysisContext)
Initialize cache
|
void |
put(String value)
Automatically generate the key and put it in the cache.Key start from 0
|
void |
putFinished()
It's called when all the values are put in
|
public static final int BATCH_COUNT
public static final int DEBUG_CACHE_MISS_SIZE
public static final int DEBUG_WRITE_SIZE
@Deprecated public Ehcache(Integer maxCacheActivateSize)
public void init(AnalysisContext analysisContext)
ReadCachepublic void put(String value)
ReadCachepublic void putFinished()
ReadCacheputFinished in interface ReadCacheCopyright © 2018–2023 Alibaba Group. All rights reserved.