K - the type of keysV - the type of valuespublic class CacheEntryListenerClient<K,V> extends CacheClient implements CacheEntryListener<K,V>, CacheEntryCreatedListener<K,V>, CacheEntryUpdatedListener<K,V>, CacheEntryRemovedListener<K,V>, CacheEntryExpiredListener<K,V>
CacheEntryListener that delegates requests to a
CacheEntryListenerServer. Added to support testing TCK in a distributed
environment.address, client, port| Constructor and Description |
|---|
CacheEntryListenerClient(InetAddress address,
int port)
Constructs a
CacheEntryListenerClient. |
| Modifier and Type | Method and Description |
|---|---|
void |
onCreated(Iterable<CacheEntryEvent<? extends K,? extends V>> cacheEntryEvents) |
void |
onExpired(Iterable<CacheEntryEvent<? extends K,? extends V>> cacheEntryEvents) |
void |
onRemoved(Iterable<CacheEntryEvent<? extends K,? extends V>> cacheEntryEvents) |
void |
onUpdated(Iterable<CacheEntryEvent<? extends K,? extends V>> cacheEntryEvents) |
close, getClientpublic CacheEntryListenerClient(InetAddress address, int port)
CacheEntryListenerClient.address - the InetAddress on which to connect to the
CacheEntryListenerServerport - the port to which to connect to the CacheEntryListenerServerpublic void onCreated(Iterable<CacheEntryEvent<? extends K,? extends V>> cacheEntryEvents) throws CacheEntryListenerException
onCreated in interface CacheEntryCreatedListener<K,V>CacheEntryListenerExceptionpublic void onExpired(Iterable<CacheEntryEvent<? extends K,? extends V>> cacheEntryEvents) throws CacheEntryListenerException
onExpired in interface CacheEntryExpiredListener<K,V>CacheEntryListenerExceptionpublic void onRemoved(Iterable<CacheEntryEvent<? extends K,? extends V>> cacheEntryEvents) throws CacheEntryListenerException
onRemoved in interface CacheEntryRemovedListener<K,V>CacheEntryListenerExceptionpublic void onUpdated(Iterable<CacheEntryEvent<? extends K,? extends V>> cacheEntryEvents) throws CacheEntryListenerException
onUpdated in interface CacheEntryUpdatedListener<K,V>CacheEntryListenerExceptionCopyright © 2014. All Rights Reserved.