public class ChronicleEngine extends Object implements ChronicleContext, Closeable
| Constructor and Description |
|---|
ChronicleEngine() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<K,V> Subscription<K,MapEventListener<K,V>> |
createFilePerKeyMapMapSubscription(String name) |
<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) |
void |
setMap(String name,
net.openhft.chronicle.map.ChronicleMap map) |
void |
setSet(String name,
net.openhft.chronicle.set.ChronicleSet set) |
public void setMap(String name, net.openhft.chronicle.map.ChronicleMap map) throws IOException
IOExceptionpublic <K,V> net.openhft.chronicle.map.ChronicleMap<K,V> getMap(String name, Class<K> kClass, Class<V> vClass) throws IOException
getMap in interface ChronicleContextIOExceptionpublic net.openhft.chronicle.map.FilePerKeyMap getFilePerKeyMap(String name)
getFilePerKeyMap in interface ChronicleContextpublic <I> I getService(Class<I> iClass, String name, Class... args) throws IOException
getService in interface ChronicleContextIOExceptionpublic <K,V> Subscription<K,MapEventListener<K,V>> createMapSubscription(String name, Class<K> kClass, Class<V> vClass)
createMapSubscription in interface ChronicleContextpublic <K,V> Subscription<K,MapEventListener<K,V>> createFilePerKeyMapMapSubscription(String name)
public void setSet(String name, net.openhft.chronicle.set.ChronicleSet set)
public <E> net.openhft.chronicle.set.ChronicleSet<E> getSet(String name, Class<E> eClass)
getSet in interface ChronicleContextpublic Logger getLogger(String name)
getLogger in interface ChronicleContextpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic <K,V> net.openhft.chronicle.map.ChronicleMap<K,V> getChronicleMap(String name, Class<K> kClass, Class<V> vClass) throws IOException
getChronicleMap in interface ChronicleContextIOExceptionpublic <K,C> Subscription<K,C> createSubscription(String name, Class<K> kClass, Class<C> callbackClass)
createSubscription in interface ChronicleContextCopyright © 2015. All rights reserved.