T
- Type of the Bean in the backing list.public class UpdateEventsCache<T> extends Object
BlinkLayer
to check if updates are
available for a cell (hence, does it need to blink).Modifier and Type | Field and Description |
---|---|
static int |
INITIAL_DELAY
Initial startup delay for the expired event removal task
|
static int |
TIME_TO_LIVE
TTL for an event in the cache.
|
Constructor and Description |
---|
UpdateEventsCache(IRowIdAccessor<T> rowIdAccessor,
org.eclipse.nebula.widgets.nattable.blink.KeyStrategy keyStrategy,
ScheduledExecutorService cleanupScheduler) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
contains(String columnProperty,
String rowId) |
int |
getCount() |
PropertyUpdateEvent<T> |
getEvent(String key) |
protected String |
getKey(PropertyUpdateEvent<T> event) |
String |
getKey(String columnProperty,
String rowId) |
boolean |
isUpdated(String key) |
void |
put(PropertyUpdateEvent<T> event) |
void |
remove(String key) |
public static final int INITIAL_DELAY
public static final int TIME_TO_LIVE
public UpdateEventsCache(IRowIdAccessor<T> rowIdAccessor, org.eclipse.nebula.widgets.nattable.blink.KeyStrategy keyStrategy, ScheduledExecutorService cleanupScheduler)
public void put(PropertyUpdateEvent<T> event)
protected String getKey(PropertyUpdateEvent<T> event)
public PropertyUpdateEvent<T> getEvent(String key)
public int getCount()
public boolean isUpdated(String key)
public void clear()
public void remove(String key)
Copyright © 2013. All Rights Reserved.