public final class SystemProperties
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SystemProperties.Callbacks
Common internal product callbacks on client and server side to possibly
plugin some system behaviour.
|
static class |
SystemProperties.DefaultCallbacks |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DDL_STMTS_REGION
Hidden region that is used for DDL string puts for DDL statement replay on
new servers in GemFireXD.
|
static java.lang.String |
DDL_STMTS_REGION_PATH |
static java.lang.String |
DEFAULT_GFXDCLIENT_PROPERTY_NAME_PREFIX |
static int |
DEFAULT_KEEPALIVE_CNT |
static int |
DEFAULT_KEEPALIVE_IDLE |
static int |
DEFAULT_KEEPALIVE_INTVL |
static java.lang.String |
DEFAULT_PROPERTY_NAME_PREFIX |
static java.lang.String |
GFXD_FACTORY_PROVIDER |
static java.lang.String |
KEEPALIVE_CNT
TCP KeepAlive COUNT for the network server and client sockets.
|
static java.lang.String |
KEEPALIVE_IDLE
TCP KeepAlive IDLE timeout in seconds for the network server and client
sockets.
|
static java.lang.String |
KEEPALIVE_INTVL
TCP KeepAlive INTERVAL timeout in seconds for the network server and client
sockets.
|
static java.lang.String |
SHADOW_SCHEMA_NAME |
static java.lang.String |
SHADOW_SCHEMA_NAME_WITH_SEPARATOR |
static java.lang.String |
SHADOW_SCHEMA_SEPARATOR |
static java.lang.String |
SHADOW_TABLE_SUFFIX |
static java.lang.String |
SNAPPY_DEFAULT_COMPRESSION_CODEC |
static java.lang.String |
SNAPPY_HIVE_METASTORE |
static java.lang.String |
SNAPPY_HIVE_METASTORE_PATH |
static int |
SNAPPY_MIN_COLUMN_DELTA_ROWS |
static java.lang.String |
SNAPPY_PREFIX
The prefix used for SnappyData properties set through java system properties
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(java.lang.String name,
boolean defaultValue) |
SystemProperties.Callbacks |
getCallbacks() |
static SystemProperties |
getClientInstance()
Get an instance appropriate for client instances.
|
static SystemProperties.Callbacks |
getGFXDServerCallbacks() |
int |
getInteger(java.lang.String name,
int defaultValue) |
long |
getLong(java.lang.String name,
long defaultValue) |
static SystemProperties |
getServerInstance()
Get an instance appropriate for server instances.
|
java.lang.String |
getString(java.lang.String name,
java.lang.String defaultValue) |
java.lang.String |
getSystemPropertyNamePrefix() |
static boolean |
isUsingGemFireXDEntryPoint() |
void |
setCallbacks(SystemProperties.Callbacks cb) |
public static final java.lang.String KEEPALIVE_IDLE
public static final java.lang.String KEEPALIVE_INTVL
KEEPALIVE_IDLE) to
determine if the other side is alive or not.
Note that this may not be supported by all platforms (e.g. Solaris), in which case this will be ignored and an info-level message logged that the option could not be enabled on the socket.
public static final java.lang.String KEEPALIVE_CNT
Note that this may not be supported by all platforms (e.g. Solaris), in which case this will be ignored and an info-level message logged that the option could not be enabled on the socket.
public static final int DEFAULT_KEEPALIVE_IDLE
public static final int DEFAULT_KEEPALIVE_INTVL
public static final int DEFAULT_KEEPALIVE_CNT
public static final java.lang.String DEFAULT_PROPERTY_NAME_PREFIX
public static final java.lang.String DEFAULT_GFXDCLIENT_PROPERTY_NAME_PREFIX
public static final java.lang.String SNAPPY_PREFIX
public static final java.lang.String SHADOW_SCHEMA_NAME
public static final java.lang.String SHADOW_TABLE_SUFFIX
public static final java.lang.String SHADOW_SCHEMA_SEPARATOR
public static final java.lang.String SHADOW_SCHEMA_NAME_WITH_SEPARATOR
public static final java.lang.String SNAPPY_HIVE_METASTORE
public static final java.lang.String SNAPPY_HIVE_METASTORE_PATH
public static final java.lang.String DDL_STMTS_REGION
public static final java.lang.String DDL_STMTS_REGION_PATH
public static final java.lang.String GFXD_FACTORY_PROVIDER
public static final java.lang.String SNAPPY_DEFAULT_COMPRESSION_CODEC
public static final int SNAPPY_MIN_COLUMN_DELTA_ROWS
public static boolean isUsingGemFireXDEntryPoint()
public static SystemProperties getServerInstance()
public static SystemProperties getClientInstance()
NOTE: This will also read server prefixed instances as fallback to handle
the case for few common properties (like in ClientSharedUtils)
when used in JVMs that are configure to be both client and server.
public static SystemProperties.Callbacks getGFXDServerCallbacks()
public void setCallbacks(SystemProperties.Callbacks cb)
public SystemProperties.Callbacks getCallbacks()
public java.lang.String getString(java.lang.String name,
java.lang.String defaultValue)
public int getInteger(java.lang.String name,
int defaultValue)
public long getLong(java.lang.String name,
long defaultValue)
public boolean getBoolean(java.lang.String name,
boolean defaultValue)
public java.lang.String getSystemPropertyNamePrefix()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.