public class ChronicleContext
extends net.openhft.chronicle.core.io.SimpleCloseable
| Modifier | Constructor and Description |
|---|---|
protected |
ChronicleContext(String url) |
protected |
ChronicleContext(String url,
SocketRegistry socketRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCloseable(net.openhft.chronicle.core.io.Closeable closeable) |
net.openhft.affinity.AffinityLock |
affinityLock() |
boolean |
buffered() |
ChronicleContext |
buffered(boolean buffered) |
protected void |
init() |
String |
name() |
ChronicleContext |
name(String name) |
ChronicleChannelSupplier |
newChannelSupplier(ChannelHandler handler) |
static ChronicleContext |
newContext(String url) |
protected void |
performClose() |
SocketRegistry |
socketRegistry() |
void |
startNewGateway() |
SystemContext |
systemContext() |
void |
systemContext(SystemContext systemContext) |
File |
toFile(String name) |
String |
toString() |
URL |
url() |
static URL |
urlFor(String spec) |
boolean |
useAffinity() |
ChronicleContext |
useAffinity(boolean useAffinity) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreferenceId, referenceName, temporaryprotected ChronicleContext(String url)
protected ChronicleContext(String url, SocketRegistry socketRegistry)
public static ChronicleContext newContext(String url)
public static URL urlFor(String spec) throws net.openhft.chronicle.core.io.IORuntimeException
net.openhft.chronicle.core.io.IORuntimeExceptionpublic net.openhft.affinity.AffinityLock affinityLock()
public boolean useAffinity()
public ChronicleContext useAffinity(boolean useAffinity)
protected void init()
public ChronicleChannelSupplier newChannelSupplier(ChannelHandler handler)
public void startNewGateway()
public void addCloseable(net.openhft.chronicle.core.io.Closeable closeable)
protected void performClose()
performClose in class net.openhft.chronicle.core.io.SimpleCloseablepublic URL url()
public boolean buffered()
public ChronicleContext buffered(boolean buffered)
public SocketRegistry socketRegistry()
public void systemContext(SystemContext systemContext)
public SystemContext systemContext()
public ChronicleContext name(String name)
public String name()
Copyright © 2022. All rights reserved.