public class CachingTable extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHING_ALGO_LFU |
static String |
CACHING_ALGO_LRU |
static long |
DEFAULT_CACHE_SIZE |
| Constructor and Description |
|---|
CachingTable(String cachingAlgorithm,
String cacheSize,
org.wso2.siddhi.core.config.ExecutionPlanContext executionPlanContext,
org.wso2.siddhi.query.api.definition.TableDefinition tableDefinition) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.wso2.siddhi.core.event.ComplexEvent complexEvent) |
void |
contains(org.wso2.siddhi.core.event.stream.StreamEvent matchingEvent) |
void |
delete(org.wso2.siddhi.core.event.stream.StreamEvent deletingEvent) |
LinkedList<org.wso2.siddhi.core.event.stream.StreamEvent> |
getCacheList() |
void |
invalidateCache() |
void |
overwriteOrAdd(org.wso2.siddhi.core.event.stream.StreamEvent updatingEvent) |
void |
update(org.wso2.siddhi.core.event.stream.StreamEvent updatingEvent) |
public static final long DEFAULT_CACHE_SIZE
public static final String CACHING_ALGO_LRU
public static final String CACHING_ALGO_LFU
public void add(org.wso2.siddhi.core.event.ComplexEvent complexEvent)
public void delete(org.wso2.siddhi.core.event.stream.StreamEvent deletingEvent)
public void update(org.wso2.siddhi.core.event.stream.StreamEvent updatingEvent)
public void overwriteOrAdd(org.wso2.siddhi.core.event.stream.StreamEvent updatingEvent)
public void contains(org.wso2.siddhi.core.event.stream.StreamEvent matchingEvent)
public LinkedList<org.wso2.siddhi.core.event.stream.StreamEvent> getCacheList()
public void invalidateCache()
Copyright © 2019 WSO2. All Rights Reserved.