public class JeroMqManager extends AbstractManager
Modifier and Type | Field and Description |
---|---|
static String |
SYS_PROPERTY_ENABLE_SHUTDOWN_HOOK
System property to enable shutdown hook.
|
static String |
SYS_PROPERTY_IO_THREADS
System property to control JeroMQ I/O thread count.
|
count, LOGGER
Modifier and Type | Method and Description |
---|---|
static org.zeromq.ZMQ.Context |
getContext() |
static JeroMqManager |
getJeroMqManager(String name,
long affinity,
long backlog,
boolean delayAttachOnConnect,
byte[] identity,
boolean ipv4Only,
long linger,
long maxMsgSize,
long rcvHwm,
long receiveBufferSize,
int receiveTimeOut,
long reconnectIVL,
long reconnectIVLMax,
long sendBufferSize,
int sendTimeOut,
long sndHwm,
int tcpKeepAlive,
long tcpKeepAliveCount,
long tcpKeepAliveIdle,
long tcpKeepAliveInterval,
boolean xpubVerbose,
List<String> endpoints) |
protected boolean |
releaseSub(long timeout,
TimeUnit timeUnit)
May be overridden by managers to perform processing while the manager is being released and the
lock is held.
|
boolean |
send(byte[] data) |
close, getContentFormat, getCount, getLoggerContext, getManager, getName, hasManager, log, logDebug, logError, logger, logWarn, narrow, release, stop, updateData
public static final String SYS_PROPERTY_ENABLE_SHUTDOWN_HOOK
public static final String SYS_PROPERTY_IO_THREADS
public boolean send(byte[] data)
protected boolean releaseSub(long timeout, TimeUnit timeUnit)
AbstractManager
releaseSub
in class AbstractManager
timeout
- timeouttimeUnit
- timeout time unitpublic static JeroMqManager getJeroMqManager(String name, long affinity, long backlog, boolean delayAttachOnConnect, byte[] identity, boolean ipv4Only, long linger, long maxMsgSize, long rcvHwm, long receiveBufferSize, int receiveTimeOut, long reconnectIVL, long reconnectIVLMax, long sendBufferSize, int sendTimeOut, long sndHwm, int tcpKeepAlive, long tcpKeepAliveCount, long tcpKeepAliveIdle, long tcpKeepAliveInterval, boolean xpubVerbose, List<String> endpoints)
public static org.zeromq.ZMQ.Context getContext()
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.