public class RemoteTcpClientChronicleContext extends Object implements ChronicleContext, net.openhft.chronicle.core.util.Closeable
| Constructor and Description |
|---|
RemoteTcpClientChronicleContext(String hostname,
int port,
byte identifier,
Class<? extends net.openhft.chronicle.wire.Wire> wireClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<K,V> Subscription<K,MapEventListener<K,V>> |
createMapSubscription(String name,
Class<K> kClass,
Class<V> vClass) |
<K,C> Subscription<K,C> |
createSubscription(String name,
Class<K> kClass,
Class<C> callbackClass) |
<K,V> net.openhft.chronicle.map.ChronicleMap<K,V> |
getChronicleMap(String name,
Class<K> kClass,
Class<V> vClass) |
net.openhft.chronicle.map.FilePerKeyMap |
getFilePerKeyMap(String name) |
Logger |
getLogger(String name) |
<K,V> net.openhft.chronicle.map.ChronicleMap<K,V> |
getMap(String name,
Class<K> kClass,
Class<V> vClass) |
<I> I |
getService(Class<I> iClass,
String name,
Class... args) |
<E> net.openhft.chronicle.set.ChronicleSet<E> |
getSet(String name,
Class<E> eClass) |
public RemoteTcpClientChronicleContext(@NotNull
String hostname,
int port,
byte identifier,
Class<? extends net.openhft.chronicle.wire.Wire> wireClass)
throws IOException
IOExceptionpublic <K,V> net.openhft.chronicle.map.ChronicleMap<K,V> getMap(String name, Class<K> kClass, Class<V> vClass)
getMap in interface ChronicleContextpublic <K,V> net.openhft.chronicle.map.ChronicleMap<K,V> getChronicleMap(String name, Class<K> kClass, Class<V> vClass) throws IOException
getChronicleMap in interface ChronicleContextIOExceptionpublic <E> net.openhft.chronicle.set.ChronicleSet<E> getSet(String name, Class<E> eClass)
getSet in interface ChronicleContextpublic <I> I getService(Class<I> iClass, String name, Class... args)
getService in interface ChronicleContextpublic <K,V> Subscription<K,MapEventListener<K,V>> createMapSubscription(String name, Class<K> kClass, Class<V> vClass)
createMapSubscription in interface ChronicleContextpublic <K,C> Subscription<K,C> createSubscription(String name, Class<K> kClass, Class<C> callbackClass)
createSubscription in interface ChronicleContextpublic net.openhft.chronicle.map.FilePerKeyMap getFilePerKeyMap(String name)
getFilePerKeyMap in interface ChronicleContextpublic Logger getLogger(String name)
getLogger in interface ChronicleContextpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2015. All rights reserved.