public interface GridCachePreloader<K,V>
| Modifier and Type | Method and Description |
|---|---|
void |
forcePreload()
Force preload process.
|
void |
onKernalStart()
Kernal start callback.
|
void |
onKernalStop()
Kernal stop callback.
|
GridPredicate<GridCacheEntryInfo<K,V>> |
preloadPredicate() |
void |
preloadPredicate(GridPredicate<GridCacheEntryInfo<K,V>> p) |
GridFuture<Object> |
request(Collection<? extends K> keys,
long topVer)
Requests that preloader sends the request for the key.
|
void |
start()
Starts preloading.
|
GridFuture<?> |
startFuture() |
void |
stop()
Stops preloading.
|
GridFuture<?> |
syncFuture() |
void |
unwindUndeploys()
Unwinds undeploys.
|
void start()
throws GridException
GridException - If start failed.void stop()
void onKernalStart()
throws GridException
GridException - If failed.void onKernalStop()
void preloadPredicate(GridPredicate<GridCacheEntryInfo<K,V>> p)
p - Preload predicate.GridPredicate<GridCacheEntryInfo<K,V>> preloadPredicate()
null, will evaluate each preloaded entry during
send and receive, and if predicate evaluates to false, entry will be skipped.GridFuture<?> startFuture()
GridFuture<?> syncFuture()
GridFuture<Object> request(Collection<? extends K> keys, long topVer)
keys - Keys to request.topVer - Topology version, -1 if not required.void forcePreload()
void unwindUndeploys()
Copyright © 2014. All rights reserved.