K - the type of keysV - the type of valuespublic class CacheWriterClient<K,V> extends CacheClient implements javax.cache.integration.CacheWriter<K,V>
CacheWriter that delegates requests to a CacheWriterServer.address, client, port| Constructor and Description |
|---|
CacheWriterClient(InetAddress address,
int port)
Constructs a
CacheWriterClient. |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Object key) |
void |
deleteAll(Collection<?> keys) |
void |
write(javax.cache.Cache.Entry<? extends K,? extends V> entry) |
void |
writeAll(Collection<javax.cache.Cache.Entry<? extends K,? extends V>> entries) |
close, getClientpublic CacheWriterClient(InetAddress address, int port)
CacheWriterClient.address - the InetAddress on which to connect to the CacheWriterServerport - the port to which to connect to the CacheWriterServerpublic void writeAll(Collection<javax.cache.Cache.Entry<? extends K,? extends V>> entries)
public void delete(Object key)
public void deleteAll(Collection<?> keys)
Copyright © 2019. All rights reserved.