| Modifier and Type | Method and Description |
|---|---|
void |
IgniteCache.loadCache(IgniteBiPredicate<K,V> p,
Object... args)
Executes
IgniteCache.localLoadCache(IgniteBiPredicate, Object...) on all cache nodes. |
void |
IgniteMessaging.localListen(Object topic,
IgniteBiPredicate<UUID,?> p)
Adds local listener for given topic on local node only.
|
void |
IgniteCache.localLoadCache(IgniteBiPredicate<K,V> p,
Object... args)
Delegates to
CacheStore.loadCache(IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
<T extends Event> |
IgniteEvents.remoteListen(IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEvents.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
UUID |
IgniteMessaging.remoteListen(Object topic,
IgniteBiPredicate<UUID,?> p)
Adds a message listener for a given topic to all nodes in the cluster group (possibly including
this node if it belongs to the cluster group as well).
|
void |
IgniteMessaging.stopLocalListen(Object topic,
IgniteBiPredicate<UUID,?> p)
Unregisters local listener for given topic on local node only.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteBiPredicate<ClusterNode,ClusterNode> |
RendezvousAffinityFunction.getBackupFilter()
Gets optional backup filter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RendezvousAffinityFunction.setBackupFilter(IgniteBiPredicate<ClusterNode,ClusterNode> backupFilter)
Sets optional backup filter.
|
| Constructor and Description |
|---|
RendezvousAffinityFunction(int parts,
IgniteBiPredicate<ClusterNode,ClusterNode> backupFilter)
Initializes optional counts for replicas and backups.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteBiPredicate<K,V> |
ScanQuery.getFilter()
Gets filter.
|
| Modifier and Type | Method and Description |
|---|---|
ScanQuery<K,V> |
ScanQuery.setFilter(IgniteBiPredicate<K,V> filter)
Sets filter.
|
| Constructor and Description |
|---|
ScanQuery(IgniteBiPredicate<K,V> filter)
Create scan query with filter.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
GridifyNodeFilter
Predicate node filter.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteBiPredicate<K,V> |
CacheQueryReadEvent.scanQueryFilter()
Gets scan query filter.
|
IgniteBiPredicate<K,V> |
CacheQueryExecutedEvent.scanQueryFilter()
Gets scan query filter.
|
| Constructor and Description |
|---|
CacheQueryExecutedEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName) |
CacheQueryReadEvent(ClusterNode node,
String msg,
int type,
String qryType,
String cacheName,
String clsName,
String clause,
IgniteBiPredicate<K,V> scanQryFilter,
CacheEntryEventSerializableFilter<K,V> contQryFilter,
Object[] args,
UUID subjId,
String taskName,
K key,
V val,
V oldVal,
Object row) |
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteMessagingImpl.localListen(Object topic,
IgniteBiPredicate<UUID,?> p)
Adds local listener for given topic on local node only.
|
<T extends Event> |
IgniteEventsImpl.remoteListen(IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
<T extends Event> |
IgniteEventsImpl.remoteListen(int bufSize,
long interval,
boolean autoUnsubscribe,
IgniteBiPredicate<UUID,T> locLsnr,
IgnitePredicate<T> rmtFilter,
int... types)
Adds event listener for specified events to all nodes in the cluster group (possibly including
local node if it belongs to the cluster group as well).
|
UUID |
IgniteMessagingImpl.remoteListen(Object topic,
IgniteBiPredicate<UUID,?> p)
Adds a message listener for a given topic to all nodes in the cluster group (possibly including
this node if it belongs to the cluster group as well).
|
void |
IgniteMessagingImpl.stopLocalListen(Object topic,
IgniteBiPredicate<UUID,?> p)
Unregisters local listener for given topic on local node only.
|
| Constructor and Description |
|---|
GridMessageListenHandler(Object topic,
IgniteBiPredicate<UUID,Object> pred) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
GridLifecycleAwareMessageFilter<K,V>
Special version of bi-predicate for messaging with initialize/close callbacks.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridIoManager.addUserMessageListener(Object topic,
IgniteBiPredicate<UUID,?> p) |
void |
GridIoManager.removeUserMessageListener(Object topic,
IgniteBiPredicate<UUID,?> p) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
GridLoadCacheCloseablePredicate<K,V>
Special version of bi-predicate for LoadCache with close callback.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> IgniteBiPredicate<K,V> |
GridCacheUtils.typeFilter(Class<?> keyType,
Class<?> valType)
Gets type filter for projections.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteCacheProxy.loadCache(IgniteBiPredicate<K,V> p,
Object... args)
Executes
IgniteCache.localLoadCache(IgniteBiPredicate, Object...) on all cache nodes. |
void |
IgniteCacheProxy.localLoadCache(IgniteBiPredicate<K,V> p,
Object... args)
Delegates to
CacheStore.loadCache(IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
void |
IgniteInternalCache.localLoadCache(IgniteBiPredicate<K,V> p,
Object... args)
Delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
void |
GridCacheProxyImpl.localLoadCache(IgniteBiPredicate<K,V> p,
Object[] args)
Delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
void |
GridCacheAdapter.localLoadCache(IgniteBiPredicate<K,V> p,
Object[] args)
Delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
IgniteInternalFuture<?> |
IgniteInternalCache.localLoadCacheAsync(IgniteBiPredicate<K,V> p,
Object... args)
Asynchronously delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure, Object...) method
to reload state from the underlying persistent storage. |
IgniteInternalFuture<?> |
GridCacheProxyImpl.localLoadCacheAsync(IgniteBiPredicate<K,V> p,
Object[] args)
Asynchronously delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure, Object...) method
to reload state from the underlying persistent storage. |
IgniteInternalFuture<?> |
GridCacheAdapter.localLoadCacheAsync(IgniteBiPredicate<K,V> p,
Object[] args)
Asynchronously delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure, Object...) method
to reload state from the underlying persistent storage. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDhtCacheAdapter.localLoadCache(IgniteBiPredicate<K,V> p,
Object[] args)
Delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridNearCacheAdapter.localLoadCache(IgniteBiPredicate<K,V> p,
Object[] args)
Delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure,Object...) method
to load state from the underlying persistent storage. |
IgniteInternalFuture<?> |
GridNearCacheAdapter.localLoadCacheAsync(IgniteBiPredicate<K,V> p,
Object[] args)
Asynchronously delegates to
CacheStore.loadCache(org.apache.ignite.lang.IgniteBiInClosure, Object...) method
to reload state from the underlying persistent storage. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CacheQueryCloseableScanBiPredicate<K,V>
Special version of bi-predicate for cache scan queries with close callback.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteBiPredicate<Object,Object> |
GridCacheQueryRequest.keyValueFilter() |
<K,V> IgniteBiPredicate<K,V> |
GridCacheQueryAdapter.scanFilter() |
| Modifier and Type | Method and Description |
|---|---|
CacheQuery<Map.Entry<K,V>> |
GridCacheQueryManager.createScanQuery(IgniteBiPredicate<K,V> filter,
boolean keepPortable)
Creates user's predicate based scan query.
|
| Constructor and Description |
|---|
GridCacheQueryAdapter(GridCacheContext<?,?> cctx,
GridCacheQueryType type,
IgniteLogger log,
int pageSize,
long timeout,
boolean keepAll,
boolean incBackups,
boolean dedup,
ClusterGroup prj,
IgniteBiPredicate<Object,Object> filter,
String clsName,
String clause,
boolean incMeta,
boolean keepPortable,
UUID subjId,
int taskHash) |
GridCacheQueryAdapter(GridCacheContext<?,?> cctx,
GridCacheQueryType type,
String clsName,
String clause,
IgniteBiPredicate<Object,Object> filter,
boolean incMeta,
boolean keepPortable) |
GridCacheQueryRequest(int cacheId,
long id,
String cacheName,
GridCacheQueryType type,
boolean fields,
String clause,
String clsName,
IgniteBiPredicate<Object,Object> keyValFilter,
IgniteReducer<Object,Object> rdc,
IgniteClosure<Object,Object> trans,
int pageSize,
boolean incBackups,
Object[] args,
boolean incMeta,
boolean keepPortable,
UUID subjId,
int taskHash) |
| Modifier and Type | Class and Description |
|---|---|
class |
GridSetQueryPredicate<K,V>
Predicate for query over
IgniteSet items. |
| Modifier and Type | Class and Description |
|---|---|
class |
IgnitePredicate2X<E1,E2>
Convenient predicate subclass that allows for thrown grid exception.
|
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2> IgniteBiPredicate<T1,T2> |
GridFunc.as(IgniteBiClosure<? super T1,? super T2,Boolean> c)
Converts given closure to predicate.
|
| Modifier and Type | Method and Description |
|---|---|
static <X1,X2> IgniteBiClosure<X1,X2,Boolean> |
GridFunc.as(IgniteBiPredicate<? super X1,? super X2> p)
Converts given predicate to closure.
|
static <E1,E2> IgnitePredicate<IgniteBiTuple<E1,E2>> |
GridFunc.as0(IgniteBiPredicate<? super E1,? super E2> p)
Converts predicate with two separate values to a predicate with tuple.
|
static <A,B> boolean |
GridFunc.isAll2(A a,
B b,
IgniteBiPredicate<? super A,? super B> p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAll2(A a,
B b,
IgniteBiPredicate<? super A,? super B>[] p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAny2(A a,
B b,
IgniteBiPredicate<? super A,? super B>... p)
Tests if any of provided predicates evaluate to
true for given values. |
static <K,V> IgniteBiTuple<Map<K,V>,Map<K,V>> |
GridFunc.partition(Map<? extends K,? extends V> m,
IgniteBiPredicate<? super K,? super V> p)
Partitions input map in two: first containing entries for which given predicate evaluates
to
true - and second containing the entries for which predicate evaluates to false. |
| Modifier and Type | Method and Description |
|---|---|
static <A,B> boolean |
GridFunc.isAll2(A a,
B b,
Iterable<? extends IgniteBiPredicate<? super A,? super B>> p)
Tests if all provided predicates evaluate to
true for given values. |
static <A,B> boolean |
GridFunc.isAny2(A a,
B b,
Iterable<? extends IgniteBiPredicate<? super A,? super B>> p)
Tests if any of provided predicates evaluate to
true for given values. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
P2<T1,T2>
Defines
alias for IgniteBiPredicate by extending it. |
interface |
PKV<K,V>
Defines
alias for GridPredicate2<K, V> by extending
IgnitePredicate. |
| Modifier and Type | Class and Description |
|---|---|
class |
PX2<T1,T2>
Defines
alias for IgnitePredicate2X by extending it. |
| Modifier and Type | Class and Description |
|---|---|
class |
MessagingListenActor<T>
Convenience actor-base adapter for
IgniteMessaging.localListen(Object, IgniteBiPredicate)
method. |
| Modifier and Type | Method and Description |
|---|---|
<K,V> IgniteBiPredicate<K,V> |
IndexingQueryFilter.forSpace(String spaceName)
Creates optional predicate for space.
|
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015