| Modifier and Type | Field and Description |
|---|---|
static Duration |
REFLECTOR_WATCH_CLIENTSIDE_MAX_TIMEOUT |
static Duration |
REFLECTOR_WATCH_CLIENTSIDE_TIMEOUT |
| Constructor and Description |
|---|
ReflectorRunnable(Class<ApiType> apiTypeClass,
ListerWatcher<ApiType,ApiListType> listerWatcher,
DeltaFIFO store) |
ReflectorRunnable(Class<ApiType> apiTypeClass,
ListerWatcher<ApiType,ApiListType> listerWatcher,
DeltaFIFO store,
BiConsumer<Class<ApiType>,Throwable> exceptionHandler) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLastSyncResourceVersion() |
boolean |
isLastSyncResourceVersionUnavailable() |
void |
run()
run first lists all items and get the resource version at the moment of call, and then use the
resource version to watch.
|
void |
stop() |
public static Duration REFLECTOR_WATCH_CLIENTSIDE_TIMEOUT
public static Duration REFLECTOR_WATCH_CLIENTSIDE_MAX_TIMEOUT
public ReflectorRunnable(Class<ApiType> apiTypeClass, ListerWatcher<ApiType,ApiListType> listerWatcher, DeltaFIFO store)
public ReflectorRunnable(Class<ApiType> apiTypeClass, ListerWatcher<ApiType,ApiListType> listerWatcher, DeltaFIFO store, BiConsumer<Class<ApiType>,Throwable> exceptionHandler)
public void run()
public void stop()
public String getLastSyncResourceVersion()
public boolean isLastSyncResourceVersionUnavailable()
Copyright © 2022. All rights reserved.