struct rmtSettings {
rmtU16 port;
rmtBool reuse_open_port;
rmtBool limit_connections_to_localhost;
rmtBool enableThreadSampler;
rmtU32 msSleepBetweenServerUpdates;
rmtU32 messageQueueSizeInBytes;
rmtU32 maxNbMessagesPerUpdate;
rmtMallocPtr _malloc;
rmtReallocPtr realloc;
rmtFreePtr _free;
void * mm_context;
rmtInputHandlerPtr input_handler;
rmtSampleTreeHandlerPtr sampletree_handler;
void * sampletree_context;
rmtPropertyHandlerPtr snapshot_callback;
void * snapshot_context;
void * input_handler_context;
rmtPStr logPath;
}
| Modifier and Type | Field and Description |
|---|---|
| public static final int | _FREE
The struct member offsets. |
| public static final int | _MALLOC
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ENABLETHREADSAMPLER
The struct member offsets. |
| public static final int | INPUT_HANDLER
The struct member offsets. |
| public static final int | INPUT_HANDLER_CONTEXT
The struct member offsets. |
| public static final int | LIMIT_CONNECTIONS_TO_LOCALHOST
The struct member offsets. |
| public static final int | LOGPATH
The struct member offsets. |
| public static final int | MAXNBMESSAGESPERUPDATE
The struct member offsets. |
| public static final int | MESSAGEQUEUESIZEINBYTES
The struct member offsets. |
| public static final int | MM_CONTEXT
The struct member offsets. |
| public static final int | MSSLEEPBETWEENSERVERUPDATES
The struct member offsets. |
| public static final int | PORT
The struct member offsets. |
| public static final int | REALLOC
The struct member offsets. |
| public static final int | REUSE_OPEN_PORT
The struct member offsets. |
| public static final int | SAMPLETREE_CONTEXT
The struct member offsets. |
| public static final int | SAMPLETREE_HANDLER
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SNAPSHOT_CALLBACK
The struct member offsets. |
| public static final int | SNAPSHOT_CONTEXT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | RMTSettings(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public RMTFree | |
| public RMTSettings | |
| public RMTMalloc | |
| public RMTSettings | |
| public static RMTSettings | |
| public static RMTSettings | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static RMTSettings | |
| public static RMTSettings | |
| protected RMTSettings | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static RMTSettings | |
| public static RMTSettings | |
| public static RMTSettings | |
| public boolean | enableThreadSampler()
Whether to enable runtime thread sampling that discovers which processors a thread is running on. |
| public RMTSettings | |
| public RMTInputHandler | |
| public RMTSettings | |
| public long | |
| public RMTSettings | |
| public boolean | |
| public RMTSettings | limit_connections_to_localhost(boolean value)
Sets the specified value to the |
| public ByteBuffer | |
| public RMTSettings | |
| public String | |
| public static RMTSettings | |
| public static RMTSettings | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static RMTSettings | |
| public static RMTSettings | |
| public int | maxNbMessagesPerUpdate()
if the user continuously pushes to the message queue, the server network code won't get a chance to update unless there's an upper-limit on how many messages can be consumed per loop |
| public RMTSettings | |
| public int | |
| public RMTSettings | |
| public long | |
| public RMTSettings | |
| public int | msSleepBetweenServerUpdates()
how long to sleep between server updates, hopefully trying to give a little CPU back to other threads |
| public RMTSettings | msSleepBetweenServerUpdates(int value)
Sets the specified value to the |
| public static RMTFree | |
| public static void | |
| public static RMTMalloc | |
| public static void | |
| public static int | |
| public static void | |
| public static RMTInputHandler | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | nlimit_connections_to_localhost(long struct, int value)
Unsafe version of |
| public static ByteBuffer | |
| public static void | |
| public static String | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static short | |
| public static void | |
| public static RMTRealloc | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static RMTSampleTreeHandler | |
| public static void | |
| public static RMTPropertyHandler | |
| public static void | |
| public static long | |
| public static void | |
| public short | |
| public RMTSettings | |
| public RMTRealloc | |
| public RMTSettings | |
| public boolean | |
| public RMTSettings | |
| public long | |
| public RMTSettings | |
| public RMTSampleTreeHandler | |
| public RMTSettings | sampletree_handler(RMTSampleTreeHandlerI value)
Sets the specified value to the |
| public RMTSettings | set(short port, boolean reuse_open_port, boolean limit_connections_to_localhost, boolean enableThreadSampler, int msSleepBetweenServerUpdates, int messageQueueSizeInBytes, int maxNbMessagesPerUpdate, RMTMallocI _malloc, RMTReallocI realloc, RMTFreeI _free, long mm_context, RMTInputHandlerI input_handler, RMTSampleTreeHandlerI sampletree_handler, long sampletree_context, RMTPropertyHandlerI snapshot_callback, long snapshot_context, long input_handler_context, ByteBuffer logPath)
Initializes this struct with the specified values. |
| public RMTSettings | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public RMTPropertyHandler | |
| public RMTSettings | snapshot_callback(RMTPropertyHandlerI value)
Sets the specified value to the |
| public long | |
| public RMTSettings | |
| public static void |