text:
<title>GemFire System Properties</title>

Introduction

Please edit this file by hand in order to facilitate merges!

Please keep entries in this file in alphabetical order in order to
facilitate merging!

Java Methods Swept

These are the methods that I have found that reference the system properties
table.  If you can think of others I have missed, add them (alphabetically)
to this list, perform the sweep using Eclipse and add your results.

Boolean#getBoolean(String)

Integer#getInteger(String)

Integer#getInteger(String, Integer)

Integer#getInteger(String, int)

Long#getLong(String)

Long#getLong(String, Long)

Long#getLong(String, long)

System#getProperties

System#getProperty(String)

System#getProperty(String, String)

Miscellaneous

DistributionConfigImpl constructor prepends gemfire. to each
valid attribute name, then looks for a System property with that value.  If
such a property name exists, it overrides any read from a property file or
any properties passed into the caller.

org.apache.geode.internal.cache.Oplog looks for properties
of the form:

fullRegionName + _UNIT_BUFF_SIZE
 -- Integer;
"Asif: The minimum unit size of the Pool created. The ByteBuffer pools
present at different indexes will be multiple of this size. Default unit
buffer size is 1024"

fullRegionName + _MAX_POOL_SIZE
 -- Integer;
"The initial pool size . Default pool size is zero"

fullRegionName + _WAIT_TIME
 -- Integer;
"Asif: MAX time in milliseconds for which a thread will wait for a buffer to
get freed up. If not available in that duration a buffer will be created on
the fly. The timeout has no meaning if the max pool size is -1( no upper
bound)"

Properties, in Alphabetical Order

AdminDistributedSystemImpl.TIMEOUT_MS

Public: false

Integer (default is 60000)

See org.apache.geode.admin.internal.AdminDistributedSystemImpl#TIMEOUT_MS.

TBA

AvailablePort.fastRandom

Public: false

Boolean (default is false)

See org.apache.geode.internal.AvailablePort.

If true, an instance of java.util.Random is used instead of
java.security.SecureRandom to randomly select a port.

This property is available in case there is a performance issue involved
with random port selection.

AvailablePort.timeout

Public: false

Integer (default is 2000)

See org.apache.geode.internal.AvailablePort#isPortAvailable.

When establishing a JGroups locator, this sets the SO_TIMEOUT
characteristic on the UDP port that we attempt to test.

Units are in milliseconds.

Bridge.VERBOSE

Public: false

See org.apache.geode.internal.cache.BridgeServerImpl.#VERBOSE.

Enable verbose logging in the BridgeServer

BridgeServer.HANDSHAKE_POOL_SIZE

Public: yes

Integer (default is 4)

See org.apache.geode.internal.cache.tier.sockets.AcceptorImpl#HANDSHAKE_POOL_SIZE.

TBA

BridgeServer.MAXIMUM_CHUNK_SIZE

Public: yes

Integer (default is 100)

See org.apache.geode.internal.cache.tier.sockets.ServerConnection#maximumChunkSize.

TBA

BridgeServer.MAX_INCOMING_DATA

Public: yes?

Integer (default is -1)

See org.apache.geode.internal.cache.tier.sockets.ServerConnection#MAX_INCOMING_DATA.

   Maximum number of concurrent incoming client message bytes that a bridge server will allow.
   Once a server is working on this number additional incoming client messages
   will wait until one of them completes or fails.
   The bytes are computed based in the size sent in the incoming msg header.

TBA

BridgeServer.MAX_INCOMING_MSGS

Public: yes?

Integer (default is -1)

See org.apache.geode.internal.cache.tier.sockets.ServerConnection#MAX_INCOMING_MSGS.

   Maximum number of concurrent incoming client messages that a bridge server will allow.
   Once a server is working on this number additional incoming client messages
   will wait until one of them completes or fails.

TBA

BridgeServer.SELECTOR

Public: jpmc-cbb

Boolean (default is false)

See org.apache.geode.internal.cache.tier.sockets.AcceptorImpl#DEPRECATED_SELECTOR.

TBA

BridgeServer.SELECTOR_POOL_SIZE

Public: jpmc-cbb

Integer (default is 16)

See org.apache.geode.internal.cache.tier.sockets.AcceptorImpl#DEPRECATED_SELECTOR_POOL_SIZE.

   This system property is only used if max-threads == 0.
   This is for 5.0.2 backwards compatibility.
   @deprecated since 5.1 use cache-server max-threads instead

TBA

BridgeServer.SOCKET_BUFFER_SIZE

Public: yes

Integer (default is 32768)

See org.apache.geode.internal.cache.tier.sockets.CacheClientNotifier#socketBufferSize.

See org.apache.geode.internal.cache.tier.sockets.CacheClientUpdater#CacheClietnUpdater(String, EndpointImpl, List, LogWriter, boolean, DistributedSystem).

   The size of the server-to-client communication socket buffers. This can be
   modified using the BridgeServer.SOCKET_BUFFER_SIZE system property.

TBA

BridgeServer.acceptTimeout

Public: false

Integer (default is 2900)

See org.apache.geode.internal.cache.tier.sockets.AcceptorImpl#acceptTimeout.

Units are in milliseconds.

  Test value for accept timeout

TBA

BridgeServer.backlog

Public: false

Integer (default is 1000)

See org.apache.geode.internal.cache.tier.sockets.AcceptorImpl
constructor.

This is the TCP accept backlog for the acceptor thread's listening socket.

BridgeServer.handShakeTimeout

Public: false

Integer (default is 59000)

See org.apache.geode.internal.cache.tier.sockets.AcceptorImpl#handShakeTimeout.

  Test value for handshake timeout

Units are in milliseconds.

TBA

CacheServerLauncher.PRINT_LAUNCH_COMMAND

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.CacheServerLauncher#PRINT_LAUNCH_COMMAND.

TBA

DataSerializer.DEBUG

Public: false

Boolean (default is false)

See org.apache.geode.DataSerializer#DEBUG

TBA

DataSerializer.DUMP_SERIALIZED

Public: false

Boolean (default is false)

See org.apache.geode.DataSerializer#DUMP_SERIALIZED

TBA

DistributedLockService.VERBOSE

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.locks.DLockLogWriter#VERBOSE.

Enables logging for this class.

DistributionManager.DEBUG_JAVAGROUPS

Public: yes (general debugging)

Boolean (default is false)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager.

See com.gemstone.org.jgroups.stack.Protocol#trace/.

Enables JGroups-package debug logging.

DistributionManager.DISCONNECT_WAIT

Public: false

Long (default is 10 * 1000)

See org.apache.geode.distributed.internal.InternalDistributedSystem#MAX_DISCONNECT_WAIT.

   This is how much time, in milliseconds to allow a disconnect listener
   to run before we interrupt it.

TBA

DistributionManager.INCOMING_QUEUE_LIMIT

Public: jpmc-cbb

Integer (default is 80000)

See org.apache.geode.distributed.internal.DistributionManager#INCOMING_QUEUE_LIMIT.

TBA

DistributionManager.INCOMING_QUEUE_THROTTLE

Public: false

Integer (default is INCOMING_QUEUE_LIMIT * .75)

See org.apache.geode.distributed.internal.DistributionManager#INCOMING_QUEUE_THROTTLE.

TBA

DistributionManager.JAVAGROUPS_CONFIG

Public: false

String

If multicast is enabled, the default is org/apache/geode/distributed/internal/javagroups-mcast.txt.

If multicast is not enabled, the default is org/apache/geode/distributed/internal/javagroups-config.txt.

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

   The system property that specifies the name of a file from which to read
   Jgroups configuration information

TBA

DistributionManager.MAX_FE_THREADS

Public: false

Integer: (default is 16)

Maximum function execution threads.

See org.apache.geode.distributed.internal.DistributionManager#MAX_FE_THREADS.

DistributionManager.MAX_PR_THREADS

Public: false

Integer (default is 1)

See org.apache.geode.distributed.internal.DistributionManager#MAX_PR_THREADS.

TBA

DistributionManager.MAX_SERIAL_QUEUE_THREAD

Public: false

Integer (default is 20)

See org.apache.geode.distributed.internal.DistributionManager#MAX_SERIAL_QUEUE_THREAD.

  Max number of serial Queue executors, in case of multi-serial-queue executor

TBA

DistributionManager.MAX_THREADS

Public: false

Integer (default is 100)

See org.apache.geode.distributed.internal.DistributionManager#MAX_THREADS.

TBA

DistributionManager.MAX_WAITING_THREADS

Public: false

Integer (default is Integer.MAX_VALUE)

See org.apache.geode.distributed.internal.DistributionManager#MAX_WAITING_THREADS.

TBA

DistributionManager.OptimizedUpdateByteLimit

Public: false

Integer (default is 2000)

See org.apache.geode.internal.cache.SearchLoadAndWriteProcessor#SMALL_BLOB_SIZE.

TBA

DistributionManager.PUSHER_QUEUE_SIZE

Public: false

Integer (default is 4096)

See org.apache.geode.distributed.internal.DistributionManager#PUSHER_QUEUE_SIZE.

TBA

DistributionManager.PUSHER_THREADS

Public: false

Integer (default is 50)

See org.apache.geode.distributed.internal.DistributionManager#PUSHER_THREADS.

TBA

DistributionManager.SERIAL_QUEUE_BYTE_LIMIT

Public: false

Integer (default is 40 * 1024 * 1024)

See org.apache.geode.distributed.internal.DistributionManager#SERIAL_QUEUE_BYTE_LIMIT.

TBA

DistributionManager.SERIAL_QUEUE_SIZE_LIMIT

Public: false

Integer (default is 20000)

See org.apache.geode.distributed.internal.DistributionManager#SERIAL_QUEUE_SIZE_LIMIT.

TBA

DistributionManager.SERIAL_QUEUE_SIZE_THROTTLE

Public: false

Integer (default is SERIAL_QUEUE_SIZE_LIMIT * THROTTLE_PERCENT)

See org.apache.geode.distributed.internal.DistributionManager#SERIAL_QUEUE_THROTTLE.

TBA

DistributionManager.SERIAL_QUEUE_THROTTLE_PERCENT

Public: false

Integer (default is 75)

See org.apache.geode.distributed.internal.DistributionManager#THROTTLE_PERCENT.

TBA

DistributionManager.STARTUP_TIMEOUT

Public: false

Integer (default is 15000)

See org.apache.geode.distributed.internal.DistributionManager#STARTUP_TIMEOUT.

Units are in milliseconds.  This is how long a Startup message waits before
it declares the peer to be nonresponsive.

TBA

DistributionManager.TIMEOUT

Public: false

Long (default is -1)

See org.apache.geode.distributed.internal.DistributionManager#TIMEOUT.

  The number of milliseconds to wait for distribution-related
  things to happen */

TBA

DistributionManager.TOTAL_SERIAL_QUEUE_BYTE_LIMIT

Public: false

Integer (default is 80 * 1024 * 1024)

See org.apache.geode.distributed.internal.DistributionManager#TOTAL_SERIAL_QUEUE_BYTE_LIMIT.

TBA

DistributionManager.TOTAL_SERIAL_QUEUE_THROTTLE

Public: false

Integer (default is SERIAL_QUEUE_BYTE_LIMIT * THROTTLE_PERCENT)

See org.apache.geode.distributed.internal.DistributionManager#TOTAL_SERIAL_QUEUE_THROTTLE.

TBA

DistributionManager.VERBOSE

Public: yes (general debugging)

Boolean (default is false)

See org.apache.geode.distributed.internal.DistributionManager#VERBOSE.

Enables certain additional (fine-level?) logging.

DistributionManager.VERBOSE_VIEWS

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#VERBOSE_VIEWS.

Enables additional info-level logging
(see #addShunnedMember and #addSurpriseMember).

DistributionManager.enqueueOrderedMessages

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.DistributionManager#INLINE_PROCESS.

TBA

DistributionManager.requireAllStartupResponses

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.DistributionManager#sendStartupMessage.

Fail distributed system join unless a startup response is received from
all peers.

DistributionManager.singleSerialExecutor

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.DistributionManager#MULTI_SERIAL_EXECUTORS.

TBA

DistributionManager.syncEvents

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.DistributionManager#SYNC_EVENTS.

TBA

DynamicRegionFactory.disablePersistence

Public: false

Boolean (default is false)

See org.apache.geode.cache.DynamicRegionFactory#DISABLE_PERSIST_BACKUP.

TBA

DynamicRegionFactory.disableRegisterInterest

Public: false

Boolean (default is false)

See org.apache.geode.cache.DynamicRegionFactory#DISABLE_REGISTER_INTEREST.

TBA

DynamicRegionFactory.msDelay

Public: false

Long (default is 250)

See org.apache.geode.cache.DynamicRegionFactory#regionCreateSleepMillis.

   This controls the delay introduced to try and avoid any race conditions
   between propagation of newly created Dynamic Regions
   and the Entries put into them.

TBA

Gateway.EVENT_TIMEOUT

Public: false

Integer (default is 5 * 60 * 1000)

See org.apache.geode.internal.cache.GatewayImpl.EventWrapper#EVENT_TIMEOUT.

Units are in milliseconds.

TBA

Gateway.MAXIMUM_SHUTDOWN_PEEKS

Public: false

Integer (default is 20)

See org.apache.geode.internal.cache.GatewayImpl.#MAXIMUM_SHUTDOWN_PEEKS.

  The number of times to peek on shutdown before giving up and shutting down.

TBA

Gateway.QUEUE_SIZE_THRESHOLD

Public: false

Integer (default is 5000)

See org.apache.geode.internal.cache.GatewayImpl.#QUEUE_SIZE_THRESHOLD.

  The queue size threshold used to warn the user. If the queue reaches this
  size, log a warning.

TBA

Gateway.TOKEN_TIMEOUT

Public: false

Integer (default is 15000)

See org.apache.geode.internal.cache.GatewayImpl.#TOKEN_TIMEOUT.

  Timeout tokens in the unprocessedEvents map after this many milliseconds.

TBA

GetInitialImage.chunkSize

Public: ml-rio

Integer (default is 500 * 1024)

See org.apache.geode.internal.cache.InitialImageOperation#CHUNK_SIZE_IN_BYTES.

   maximum number of bytes to put in a single message

TBA

GrantorRequestProcessor.ELDER_CHANGE_SLEEP

Public: false

Long (default is 100)

See org.apache.geode.distributed.internal.locks.GrantorRequestProcessor#ELDER_CHANGE_SLEEP.

   The number of milliseconds to sleep for elder change if current elder
   is departing (and already sent shutdown msg) but is still in the View.

TBA

JGroups.SHUN_SUNSET

Public: false

Integer (default is 90)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#isShunned.

This is the length of time during which incoming messages from a departed peer
are regarded as out-of-order messages and are hence ignored (shunned).

Units are in seconds.

Locator.forceAdminDMType

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.InternalLocator#FORCE_ADMIN_DM_TYPE.

No longer exists as of 7.0.

Locator.forceLocatorDMType

Public: false

Boolean (default is false)

Used internally by the locator. It sets it to true to tell other code
that the member type should be LOCATOR.
As of 7.0.

Locator.inhibitDMBanner

Public: ml-rio

Boolean (default is false)

See org.apache.geode.distributed.internal.InternalLocator#INHIBIT_DM_BANNER.

TBA

MAX_WAIT_FOR_SPACE

Public: false

Integer (default is 20)

See org.apache.geode.internal.cache.ComplexDiskRegion#MAX_WAIT_FOR_SPACE.

Units are in seconds.

TBA

StatArchiveReader.dump

Public: false

Boolean (default is false)

See org.apache.geode.internal.StatArchiveReader(File[], ValueFilter[], boolean).

See org.apache.geode.internal.StatArchiveReader#dump(PrintWriter).

StatArchiveReader.dumpall

Public: false

Boolean (default is false)

See org.apache.geode.internal.StatArchiveReader(File[], ValueFilter[], boolean).

TBA

StateFlushOperation.DEBUG

Public: false

Boolean (default is false)

Boolean

See org.apache.geode.internal.cache.StateFlushOperation#DEBUG.

TBA

ack-threshold-exception

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.ReplyProcessor21#THROW_EXCEPTION_ON_TIMEOUT.

TBA

bind.address

Public: false

String (See InetAddress.getByName)

See com.gemstone.org.jgroups.protocols.FD_SOCK#setProperties(Properties).

See com.gemstone.org.jgroups.protocols.MPING#setProperties(Properties).

See com.gemstone.org.jgroups.protocols.TP#setProperties(Properties).

TBA

java.util.concurrent.NanoTimerProvider

Public: false

String

Default is java.util.concurrent.NanoTimerProvider.

See java.util.concurrent.Utils#providerProp.

This is the name of a class that implements the
java.util.concurrent.helpers.NanoTimer
interface.

TBA

org.apache.geode.internal.OSProcess.trace

Public: false

String

See org.apache.geode.internal.OSProcess#bgexec(String[], File, File, boolean).

If this property exists and has non-zero length, additional information about
the executed command is printed to System.out.

TBA

org.apache.geode.internal.cache.PartitionedRegion-logging

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.PartitionedRegion#initPrInternals.

TBA

org.apache.geode.internal.cache.PartitionedRegionDataStore-logging (constructor)

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.PartitionedRegionDataStore.PartitionedRegionDataStore(PartitionedRegion).

TBA

disable-intelligent-msg

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.DistributionAdvisor#disabled.

TBA

enable_canonicalization

Public: false

Boolean (default is false)

See com.gemstone.org.jgroups.Message#DISABLE_CANONICALIZATION.

TBA

force.properties

Public: false

String

See com.gemstone.org.jgroups.conf.ConfiguratorFactory class init.

A JGroups configuration string?

TBA

GemFire.ALWAYS_REPLICATE_UPDATES

Public: false

Boolean (default is false)

If true then non-replicate regions will turn a remote update they receive
on an entry they do not have into a local create.
By default these updates would have been ignored.

gemfire.ALLOW_PERSISTENT_TRANSACTIONS

Public: true

Boolean (default is false)

If true then transactions on persistent regions are allowed.

gemfire.artificialGatewayDelay

Public: false

Integer -1

See org.apache.geode.internal.cache.GatewayEventRemoteDispatcher#ARTIFICIAL_DELAY

Introduce artificial delay (in ms) before batch sending to simulate a real WAN link

gemfire.ASCII_STRINGS

Public: false

Boolean (default is false)

See org.apache.geode.internal.tcp.MsgStreamer#ASCII_STRINGS.

See org.apache.geode.internal.HeapDataOutputStream#ASCII_STRINGS.

Causes GemFire's implementation of writeUTF to only work for Strings that use the ASCII
character set. So Strings that use the international characters will be serialized incorrectly.
If you know your Strings only use ASCII setting this to true can improve your performance if
you are using writeUTF frequently. Most Strings are serialized using DataSerializer.writeString
which does not use writeUTF.

gemfire.AutoSerializer.SAFE

Public: false

Boolean (default is false)

If set to true forces the ReflectionBasedAutoSerializer to not use the
sun.misc.Unsafe code. Using Unsafe optimizes performance but reduces
portablity.
By default ReflectionBasedAutoSerializer will attempt to use Unsafe but
silently not use it if it is not available.

gemfire.AutoSerializer.UNSAFE

Public: false

Boolean (default is false)

If set to true then the ReflectionBasedAutoSerializer will throw
an exception if it is not able to use the sun.misc.Unsafe code.
Using Unsafe optimizes performance but reduces portablity.
By default ReflectionBasedAutoSerializer will attempt to use Unsafe but
silently not use it if it is not available.

gemfire.BUCKET_RECOVERY_DELAY

Public: false

Long (default is 2)

See org.apache.geode.internal.cache.PRHAFailureAndRecoveryPRovider#BUCKET_RECOVERY_DELAY.

Mean amount of time, in seconds, to delay before starting to
recover a bucket.

TBA

gemfire.BUCKET_RECOVERY_JITTER

Public: false

Long (default is 200)

See org.apache.geode.internal.cache.PRHAFailureAndRecoveryPRovider#BUCKET_RECOVERY_JITTER.

   Maximum additional amount of time, in milliseconds, to skew bucket creation,
   to stagger recovery and creation in a starting system.

TBA

gemfire.BucketAdvisor.getPrimaryTimeout

Public: false

Long (default is 1000 * 60)

See org.apache.geode.internal.cache.BucketAdvisor#GET_PRIMARY_TIMEOUT.

   Specifies the timeout to wait for a primary when calling {@link
   #getPrimary()}

Units are in milliseconds.

TBA

gemfire.Cache.ASYNC_EVENT_LISTENERS

Public: yes

Boolean (default is false)

See org.apache.geode.internal.cache.GemFireCache#ASYNC_EVENT_LISTENERS.

If true then cache event listeners will be invoked by a background thread.
By default they are invoked by the same thread that is doing the cache operation.

gemfire.Cache.EVENT_QUEUE_LIMIT

Public: false

Integer (default is 4096)

See org.apache.geode.internal.cache.GemFireCache#EVENT_QUEUE_LIMIT.

TBA

gemfire.Cache.defaultLockLease

Public: false

Integer (default is 120)

See org.apache.geode.internal.cache.GemFireCache#DEFAULT_LOCK_LEASE.

  The default duration (in seconds) of a lease on a distributed lock

TBA

gemfire.Cache.defaultLockTimeout

Public: false

Integer (default is 60)

See org.apache.geode.internal.cache.GemFireCache#DEFAULT_LOCK_TIMEOUT.

  The default number of seconds to wait for a distributed lock

TBA

gemfire.Cache.defaultSearchTimeout

Public: false

Integer (default is 300)

See org.apache.geode.internal.cache.GemFireCache#DEFAULT_SEARCH_TIMEOUT.

  The default amount of time to wait for a netSearch to
  complete

Units are in seconds.

TBA

gemfire.Cache.startSerialNumber

Public: false

Integer (default is Integer.MAX_VALUE - 10)

See org.apache.geode.internal.cache.GemFireCache#START_SERIAL_NUMBER.

  Specifies the starting serial number for the {@link #serialNumberSequencer

TBA

gemfire.CacheServerLauncher.assignBucketsToPartitions

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.CacheServerLauncher.ASSIGN_BUCKETS.

If a cache server is started using that CacheServerLauncher and this property is set to true, the cache
server will create all of the buckets when it is started.

gemfire.CacheDistributionAdvisor.rolloverThreshold

Public: false

Integer (default is 1000)

See org.apache.geode.internal.cache.CacheDistributionAdvisor#ROLLOVER_THRESHOLD.

  Used to compare profile versioning numbers against
  {@link Integer#MAX_VALUE} and {@link Integer#MIN_VALUE} to determine
  if a rollover has occurred.

TBA

gemfire.Capacity

Public: false

Integer (default is 230000)

See org.apache.geode.internal.cache.ha.HARegionQueueAttributes#BLOCKING_QUEUE_CAPACITY.

TBA

gemfire.DEBUG_EXPIRATION

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.ExpirationScheduler#DEBUG.

TBA

gemfire.DEFAULT_MAX_OPLOG_SIZE

Public: false

Long (default is 1024 * 1024 * 1024)

See org.apache.geode.internal.cache.DiskWriteAttributesImpl#DEFAULT_MAX_OPLOG_SIZE.

  default max in bytes

TBA

gemfire.DLockService.automateFreeResources

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.locks.DLockService.DLockService(String, DistributedSystem, boolean, boolean, boolean).

gemfire.DLockService.LockGrantorId.rolloverMargin

Public: false

Integer (default is 10000)

See org.apache.geode.distributed.internal.locks.LockGrantorId#ROLLOVER_MARGIN.

TBA

gemfire.DLockService.debug.disallowLockRequestLoop

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.locks.DLockService#DEBUG_LOCK_REQUEST_LOOP.

TBA

gemfire.DLockService.debug.disallowLockRequestLoopCount

Public: false

Integer (default is 20)

See org.apache.geode.distributed.internal.locks.DLockService#DEBUG_LOCK_REQUEST_LOOP_COUNT.

TBA

gemfire.DLockService.debug.disallowNotHolder

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.locks.DLockService#DEBUG_DISALLOW_NOT_HOLDER.

TBA

gemfire.DLockService.debug.enforceSafeExit

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.locks.DLockService#DEBUG_ENFORCE_SAFE_EXIT.

TBA

gemfire.DLockService.debug.nonGrantorDestroyLoop

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.locks.DLockService#DEBUG_NONGRANTOR_DESTROY_LOOP.

TBA

gemfire.DLockService.debug.nonGrantorDestroyLoopCount

Public: false

Integer (default is 20)

See org.apache.geode.distributed.internal.locks.DLockService#DEBUG_NONGRANTOR_DESTROY_LOOP_COUNT.

TBA

gemfire.DLockService.notGrantorSleep

Public: false

Long (default is 2000)

See org.apache.geode.distributed.internal.locks.DLockService#NOT_GRANTOR_SLEEP.

Units are in milliseconds.

TBA

gemfire.DistributedLockService.startSerialNumber

Public: false

Integer (default is Integer.MAX_VALUE - 10)

See org.apache.geode.distributed.internal.locks.DLockService#START_SERIAL_NUMBER.

  Specifies the starting serial number for the {@link #serialNumberSequencer}

TBA

gemfire.DO_EXPENSIVE_VALIDATIONS

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.LocalRegion#DO_EXPENSIVE_VALIDATIONS.

TBA

gemfire.DistributionAdvisor.startVersionNumber

Public: false

Integer (default is Integer.MAX_VALUE - 10)

See org.apache.geode.distributed.internal.DistributionAdvisor#START_VERSION_NUMBER.

   Specifies the starting version number for the {@link
   #profileVersionSequencer}.

TBA

gemfire.EXPIRY_THREADS

Public: false

Integer (default is 0)

See org.apache.geode.internal.cache.ExpiryTask class init

TBA

gemfire.EXPIRY_UNITS_MS

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.LocalRegion#EXPIRY_UNITS_MS.

   Used by unit tests to set expiry to milliseconds instead of the default
   seconds. Used in ExpiryTask.

TBA

gemfire.FD_TIMEOUT

Public: false

Long (default is 0)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

If gemfire.useFD is true or this property's value is non-zero,
the FD protocol is inserted on the JGroups stack.

Furthermore, the MEMBER_TIMEOUT string is substituted with this
value in the JGroups default config, which in turn sets the
timeout property in the VERIFY_SUSPECT protocol,
which otherwise defaults to 2000 milliseconds.

TBA

gemfire.IDLE_THREAD_TIMEOUT

Public: false

Integer (default is 15000)

See org.apache.geode.distributed.internal.PooledExecutorWithDMStats#PooledExecutorWithDMStats(BlockingQueue, int, PoolStatHelper, ThreadFactory).

Units are in milliseconds.

TBA

gemfire.isDedicatedServer

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.CacheServerLauncher.#isDedicatedCacheServer

Tell admin API whether the member is a dedicated cache server

gemfire.memoryEventTolerance

Public: false

Integer (default for Sun/Oracle is 1 and for others 5)

See org.apache.geode.internal.cache.control.InternalResourceManager.#MEMORY_EVENT_TOLERANCE

Number of memory events that ResourceManager will tolerate before throwing a LME. Useful with JVM 1.7

gemfire.MAX_PENDING_CANCELS

Public: false

Integer (default is 10000)

See org.apache.geode.internal.cache.ExpirationScheduler#MAX_PENDING_CANCELS.

TBA

gemfire.MIN_BUCKET_SIZE

Public: false

Integer (default is 1)

See org.apache.geode.internal.cache.partitioned.SizedBasedLoadProbe.#MIN_BUCKET_SIZE

Allows setting the minimum bucket size to be used during rebalance

gemfire.DISABLE_MOVE_PRIMARIES_ON_STARTUP

Public: false

Boolean (default is false)

If true then pr primary buckets will not be balanced when a new member is started.

gemfire.MessageTimeToLive

Public: false

Integer (default is 180)

See org.apache.geode.internal.cache.ha.HARegionQueue#REGION_ENTRY_EXPIRY_TIME.

   Constant used to set region entry expiry time using system property.

Units are in seconds.

TBA

gemfire.ON_DISCONNECT_CLEAR_PDXTYPEIDS

Public: false

Boolean (default is false)

See org.apache.geode.cache.client.internal.PoolImpl

Clear pdxType ids when client disconnects from servers

gemfire.PRDebug

Public: false

Boolean (default is false)

See org.apache.geode.admin.GemFireMonitorService#processGetValCommand.

See org.apache.geode.admin.remote.RemoteCacheInfo.RemoteCacheInfo(GemFireCache).

See org.apache.geode.admin.remote.RootRegionResponse#create(DistributionManager, InternalDistributedMember).

See org.apache.geode.internal.cache.PartitionedRegionDataStore#createBucketRegion(int).

See org.apache.geode.internal.cache.PartitionedRegionHelper#getPRConfigRegion(Region, Cache).

TBA

gemfire.PREFER_DESERIALIZED

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.CachedDeserializableFactory#PREFER_DESERIALIZED.

TBA

gemfire.PREFER_SERIALIZED

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.CachedDeserializableFactory.#PREFER_DESERIALIZED

Enable storing the values in serialized form

gemfire.PRSanityCheckDisabled

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.partitioned.PRSanityCheckMessage#schedule.

TBA

gemfire.PRSanityCheckInterval

Public: false

Integer (default is 5000)

See org.apache.geode.internal.cache.partitioned.PRSanityCheckMessage#schedule.

Units are in milliseconds.

TBA

gemfire.PartitionedRegionRandomSeed

Public: false

Long (defaults to NanoTimer.getTime())

See org.apache.geode.internal.cache.PartitionedRegion#rand.

Seed for the random number generator in this class.

TBA

gemfire.Query.COMPILED_QUERY_CLEAR_TIME

Public: false

Integer (defaults to 10 * 60 * 1000)

See org.apache.geode.cache.query.internal.DefaultQuery.#COMPILED_QUERY_CLEAR_TIME

Frequency of clean up compiled queries

gemfire.Query.VERBOSE

Public: false

See org.apache.geode.cache.query.internal.DefaultQuery.#QUERY_VERBOSEBoolean (defaults to false)

Enable verbose logging in the query execution

gemfire.QueryService.QueryHeterogeneousObjects

Public: false

Boolean (defaults to true)

See org.apache.geode.cache.query.internal.DefaultQueryService.#QUERY_HETEROGENEOUS_OBJECTS

Allow query on region with heterogeneous objects

gemfire.randomizeOnMember

Public: false

Boolean (defaults to false)

See org.apache.geode.cache.execute.internal.FunctionServiceManager.#RANDOM_onMember

When set, onMember execution will be executed on a random member.

gemfire.RegionAdvisor.volunteeringThreadCount

Public: false

Integer (default is 1)

See org.apache.geode.internal.cache.partitioned.RegionAdvisor#VOLUNTERING_THREAD_COUNT.

  Number of threads allowed to concurrently volunteer for bucket primary.

TBA

gemfire.VIEW_BUNDLING_WAIT_TIME

Public: false

Integer (default is 150)

See com.gemstone.org.jgroups.protocols.pbcast.GMS#BUNDLE_WAITTIME.

     GemStoneAddition - amount of time to wait for additional join/leave
     requests before processing.  Set gemfire.VIEW_BUNDLING_WAIT_TIME to
     the number of milliseconds.  Defaults to 150ms.

TBA

gemfire.VM_OWNERSHIP_WAIT_TIME

Public: false

Long (default is Long.MAX_VALUE)

See org.apache.geode.internal.cache.PartitionedRegion#VM_OWNERSHIP_WAIT_TIME

  Time to wait for for acquiring distributed lock ownership

Time is specified in milliseconds.

TBA

gemfire.asynchronous-gateway-distribution-enabled

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.GatewayHubImpl#USE_ASYNCHRONOUS_DISTRIBUTION.

TBA

gemfire.bridge.disableShufflingOfEndpoints

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.tier.sockets.ConnectionProxyImpl#disableShufflingOfEndpoints.

   A debug flag, which can be toggled by tests to disable/enable shuffling of
   the endpoints list

TBA

gemfire.bridge.suppressIOExceptionLogging

Public: jpmc-jets

Boolean (default is false)

See ConnectionProxyImpl,
ServerConnection, and
ServerMonitor.

TBA

gemfire.BridgeServer.FORCE_LOAD_UPDATE_FREQUENCY

Public: false

Integer 10

See org.apache.geode.internal.cache.BridgeServerImpl.#FORCE_LOAD_UPDATE_FREQUENCY

How often to force a BridgeServer load message to be sent

gemfire.BucketRegion.alwaysFireLocalListeners

Public: false

Boolean default is false

See org.apache.geode.internal.cache.BucketRegion.#FORCE_LOCAL_LISTENERS_INVOCATION

Enable invocation of listeners in both primary and secondary buckets

gemfire.Cache.MAX_QUERY_EXECUTION_TIME

Public: true

Integer default is -1

See org.apache.geode.internal.cache.GemFireCacheImpl.#MAX_QUERY_EXECUTION_TIME

Limit the max query execution time (ms)

gemfire.CLIENT_FUNCTION_TIMEOUT

Public: false

Integer default is 0

See org.apache.geode.cache.client.internal.ConnectioImpl.#CLIENT_FUNCTION_TIMEOUT

Timeout to set for client function execution

gemfire.clientMonitorLogFile

Public: false

String (default is unset, to use System.out)

See org.apache.geode.admin.GemFireClientAdminTool#logFileName.

This is a file name.

TBA

gemfire.clientSocketFactory

Public: false

String

See org.apache.geode.internal.SocketCreator

Non-standard Socket creator

gemfire.cq.EXECUTE_QUERY_DURING_INIT

Public: true

Boolean true

See org.apache.geode.cache.query.internal.CqService.#EXECUTE_QUERY_DURING_INIT

When set to false, avoid query execution during CQ when initial results are not required

gemfire.debug

Public: false

Boolean (default is false)

See org.apache.geode.internal.SharedLibrary#getName.

TBA

gemfire.debug-frag2

Public: false

Boolean (default is false)

See com.gemstone.org.jgroups.protocols.FRAG2#DEBUG_FRAG2.

TBA

gemfire.disableAccessTimeUpdateOnPut

Public: true

Boolean (default is false)

See org.apache.geode.internal.cache.AbstractRegionEntry.#DISABLE_ACCESS_TIME_UPDATE_ON_PUT

Disable access time updates on put event

gemfire.disable-event-old-value

Public: jpmc-cbb

Boolean (default is false)

See org.apache.geode.internal.cache.EntryEventImpl#EVENT_OLD_VALUE.

Discussing EVENT_OLD_VALUE = !Boolean.getBoolean():

   If true (the default) then preserve old values in events.
   If false then mark non-null values as being NOT_AVAILABLE.

TBA

gemfire.disablePartitionedRegionBucketAck

Public: true

Boolean (default is false)

See org.apache.geode.internal.cache.PartitionedRegion.#DISABLE_SECONDARY_BUCKET_ACK

Enable no-ack replication in bucket regions

gemfire.disable-udp-direct-ack

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.DistributedCacheOperation#UDP_DISABLE_DIRECT_ACK.

TBA

gemfire.disableNotificationWarnings

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.tier.sockets.CacheClientProxy#LOG_DROPPED_MSGS.

Discussing LOG_DROPPED_MSGS = !Boolean.getBoolean():

   Defaults to true; meaning do some logging of dropped client notification
   messages. Set the system property to true to cause dropped messages to NOT
   be logged.

TBA

gemfire.disableShutdownHook

Public: true

Boolean (default is false)

If true then the shutdown hooks of the DistributedSystem, Locator, and Agent
are not run on shutdown. This was added for bug 38407.

gemfire.disallowMcastDefaults

Public: false

Boolean (default is false)

Used by unit tests to make sure the GemFire mcast-port has been configured
to a non-default value.

gemfire.disk.recoverValues

Public: jpmc-cbb

Boolean (default is false)

See org.apache.geode.internal.cache.SimpleDiskRegion.

  Whether to get the values from disk to memory on recovery

TBA

gemfire.EXPIRATIONS_CAUSE_CONFLICTS

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.LocalRegion.#EXPIRATIONS_CAUSE_CONFLICTS

Allow expirations to be done by multiple threads, avoiding the
pendingExpires list (set in conjunction with gemfire.EXPIRY_THREADS)

gemfire.enableCpuTime

Public: false

Boolean (default is false)

This property causes the per thread stats to also measure cpu time.
This property is ignored unless "gemfire.enableThreadStats" is also set to true.
See java.lang.management.ThreadMXBean.setThreadCpuTimeEnabled(boolean)
for more information.

gemfire.enableContentionTime

Public: false

Boolean (default is false)

This property causes the per thread stats to also measure contention.
This property is ignored unless "gemfire.enableThreadStats" is also set to true.
See java.lang.management.ThreadMXBean.setThreadContentionMonitoringEnabled(boolean)
for more information.

gemfire.enableThreadStats

Public: false

Boolean (default is false)

This property causes the per thread stats to be collected.
See java.lang.management.ThreadMXBean
for more information.

gemfire.fast-member-timeout

Public: false

Integer (default is 1000)

See com.gemstone.org.jgroups.protocols.VERIFY_SUSPECT#suspect.

  artificially age the entry for faster processing

Units are in milliseconds.

TBA

gemfire.gateway-conserve-sockets-allowed

Public: yes

Boolean (default is false)

See org.apache.geode.internal.cache.GatewayHubImpl#ALLOW_CONSERVE_SOCKETS.

   A boolean that defines whether the value of the conserve-sockets property
   in the gemfire.properties file is preserved. By default, the value in
   gemfire.properties is overridden so that queue ordering is preserved. If
   ALLOW_CONSERVE_SOCKETS=true, then the conserve-sockets property is
   used and queue ordering may not be preserved. This property can be set
   using the System property called 'gemfire.gateway-conserve-sockets-allowed'.

TBA

gemfire.gateway-queue-no-ack

Public: yes

Boolean (default is false)

See org.apache.geode.internal.cache.SingleWriteSingleReadRegionQueue#NO_ACK.

   Whether the Gateway queue should be no-ack instead of ack.

TBA

gemfire.GatewayReceiver.ApplyRestries

Public: false

Boolean (default is false)

If true causes the GatewayReceiver will apply batches it has already received.

gemfire.gateway.ApplyRetries

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.tier.sockets.ServerConnection#APPLY_RETRIES.

TBA

gemfire.GetInitialImage.CHUNK_PERMITS

Public: false

Integer (default is 16)

See org.apache.geode.internal.cache.InitialImageOperation.#CHUNK_PERMITS

Allowed number of in-flight initial image chunks. This property controls how many requests for GII chunks can be handled simultaneously.

gemfire.GetInitialImage.MAX_PARALLEL_GIIS

Public: true

Integer (default is 5)

See org.apache.geode.internal.cache.InitialImageOperation.#MAX_PARALLEL_GIIS

Allowed number of GIIs in parallel. This property controls how many regions can do GII simultaneously. Each replicated region and partitioned region bucket counts against this number.

gemfire.haltOnAssertFailure

Public: false

Boolean (default is false)

See org.apache.geode.internal.Assert#debug.

Causes VM to hang on assertion failure (to allow a debugger to be attached)
instead of exiting the process.

gemfire.jg-can_bind_to_mcast_addr

Public: false

Boolean (default is false)

On OSes that support it bind to the mcast_addr to prevent traffic on
different addresses, but on the same port.
Setting to true can avoid cross address chatter.

gemfire.launcher.registerSignalHandlers

Public: false

Boolean (default is false)

Causes the code used by gfsh to launch a server or locator to install
signal handlers using sun.misc.Signal.

gemfire.lightLocators

Public: false

Boolean (default is false)

See org.apache.geode.internal.gui.RemoteCommandManager#getLocatorStart.

Adds the "-lightweight" argument when creating the locator.

gemfire.loadLibrary.debug

Public: false

Boolean (default is false)

See org.apache.geode.internal.PureJavaMode#debug.

TBA

gemfire.locatorXms

Public: false

String

See org.apache.geode.internal.gui.RemoteCommandManager#getLocatorStart.

See org.apache.geode.internal.gui.StartStopManager#startLocalLocator.

A JVM property, esp. "-Xms150m".

TBA

gemfire.locatorXmx

String

Public: false

See org.apache.geode.internal.gui.RemoteCommandManager#getLocatorStart.

See org.apache.geode.internal.gui.StartStopManager#startLocalLocator.

A JVM property, esp. "-Xmx400m"

TBA

gemfire.locators

Public: false

String

See the constructor for org.apache.geode.distributed.internal.InternalLocator.

If this property is not found in gemfire.properties, the system property
of the same name is used.

gemfire.lru.maxSearchEntries

Public: false

Integer (default is -1)

See org.apache.geode.internal.cache.lru.NewLRUClockHand#maxEntries.

This is the maximum number of "good enough" entries to pass over for eviction
before settling on the next acceptable entry.  This prevents excessive cache
processing to find a candidate for eviction.

gemfire.order-pr-gets

Public: false

Boolean (default is false)

See org.apache.geode.internal.cache.partitioned.GetMessage#ORDER_PR_GETS.

TBA

gemfire.partitionedRegionRetryTimeout

Public: false

Integer (default is 60 * 60 * 1000)

See org.apache.geode.internal.cache.PartitionedRegion#retryTimeout

  The maximum milliseconds for retrying operations

TBA

gemfire.PRQueryProcessor.numThreads

Public: false

Integer 1+ (default is 2)

See org.apache.geode.internal.cache.PRQueryProcessor#executeQuery

  The number of concurrent threads to use within a single VM to execute queries
  on a Partitioned Region. If set to 1 (or less) then queries are run
  sequentially with a single thread.

TBA

gemfire.pureJavaMode

Public: true

Boolean (default is false)

See org.apache.geode.internal.PureJavaMode class init.

Force use of "pure" Java mode (native libraries will not be loaded)

gemfire.SPECIAL_DURABLE

Public: false

Boolean (default is false)

See org.apache.geode.cache.client.internal.PoolImpl.#SPECIAL_DURABLE

Makes multiple durable subscriptions from same client unique. on java client ensures only a single server proxy is created but will limit the client to a single active client pool at a time

gemfire.statsDisabled

Public: true

Boolean (default is false)

See org.apache.geode.distributed.internal.InternalDistributedSystem#statsDisabled.

TBA

gemfire.statusPollingDelay

Public: false

Long (default is 5000)

See org.apache.geode.admin.GemFireClientAdminTool#_statusPollingDelay.

Units are in milliseconds.

TBA

gemfire.syncWrites

Public: false

Boolean

See org.apache.geode.internal.cache.Oplog#SYNC_WRITES.

   This system property instructs that writes be synchronously written to disk
   and not to file system. (Use rwd instead of rw - RandomAccessFile property)

TBA

gemfire.TcpServer.MAX_POOL_SIZE

Public: false

Integer

   This property limits the number of threads that the locator will
	use for processing gossip messages and server location
	requests.

TBA

gemfire.useFD

Public: true

Boolean (default is false)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

TBA

gemfire.validateMessageSize

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.DistributionConfig#VALIDATE.

TBA

gemfire.validateMessageSizeCeiling

Public: false

Integer (default is 8 * 1024 * 1024)

See org.apache.geode.distributed.internal.DistributionConfig#VALIDATE_CEILING.

TBA

gemfirePropertyFile

Public: yes

String

See org.apache.geode.distributed.DistributedSystem#PROPERTY_FILE.

     The PROPERTY_FILE is the name of the
     property file that the connect method will check for when
     it looks for a property file.
     The file will be searched for, in order, in the following directories:

 the current directory

 the home directory

 the class path

     Only the first file found will be used.

     The default value of PROPERTY_FILE is
     "gemfire.properties".  However if the
     "gemfirePropertyFile" system property is set then its value is
     the value of PROPERTY_FILE. If this value is a relative file
     system path then the above search is done.  If it is an absolute
     file system path then that file must exist; no search for it is
     done.
     @since GemFire 5.0

TBA

gemstone.MAX_BUCKET_GRAB_ATTEMPTS

Public: false

Integer (default is 20)

See org.apache.geode.internal.cache.PartitionedRegionDataStore.BucketRecoverer#grabBuckets.

TBA

gfAgentDebug

Public: false

Boolean

See org.apache.geode.admin.jmx.internal.AgentImpl#checkDebug.

  Enables mx4j tracing if Agent debugging is enabled.

TBA

gfAgentPropertyFile

Public: false

String

See org.apache.geode.admin.jmx.internal.AgentConfigImpl#retrievePropertyFile.

   The propertyFile is the name of the property file that will
   be loaded on startup of the Agent.

   The file will be searched for, in order, in the following directories:

 the current directory

 the home directory

 the class path

   Only the first file found will be used.

   The default value of propertyFile is "agent.properties". However
   if the "gfAgentPropertyFile" system property is set then its value is the
   value of propertyFile. If this value is a relative file system path then
   the above search is done. If its an absolute file system path then that
   file must exist; no search for it is done.

TBA

gfc.propertyfile.init

Public: false

String

See org.apache.geode.internal.gui.Service#initProps().

This is name of a Properties file read at startup.

TBA

gfc.propertyfile.onclose

String

See org.apache.geode.internal.gui.Service#saveProps.

Public: false

This is the name of a Properties file to which some properties
are saved a close.

TBA

ignore.bind.address

Public: false

Boolean (default is false)

See com.gemstone.org.jgroups.protocols.MPING#setProperties(Properties).

See com.gemstone.org.jgroups.util.Util#isBindAddressPropertyIgnored.

If true, the value of the
bind.address property is ignored.

This is used in MPING, FD_SOCK, and TP.

install

Public: false

Boolean (default is false)

See org.apache.geode.internal.gui.NavigationPane#NavigationPane().

See org.apache.geode.internal.gui.Service#Service().

TBA

java.net.preferIPv6Addresses

Public: false

Boolean (default is false)

See com.gemstone.org.jgroups.util.Util#getFirstNonLoopbackAddress.

TBA

Is this a standard Java property?

jboss.partition.udpGroup

Public: false

String (See InetAddress.getByName)

See com.gemstone.org.jgroups.protocols.UDP#setProperties.

  The multicast address used for sending and receiving packets

If you manage to get here without setting mcast_addr_name, the default
is 228.8.8.8.

jboss.partition.udpPort

Integer

See com.gemstone.org.jgroups.protocols.UDP#setProperties.

Public: false

  The multicast port used for sending and receiving packets

If you manage to get here without setting mcast_port, the default value is 7600.

jta.VERBOSE

Public: false

Boolean

See org.apache.geode.internal.jta.GlobalTransaction#VERBOSE.

See org.apache.geode.internal.jta.TransactionManagerImpl#VERBOSE.

TBA

jta.defaultTimeout

Public: false

Integer (default is 600)

See org.apache.geode.internal.jta.TransactionManagerImpl#DEFAULT_TRANSACTION_TIMEOUT.

Units are in seconds.

TBA Is this a standard JTA property?

local_addr.timeout

Public: false

Long (default is 30000)

See com.gemstone.org.jgroups.JChannel#LOCAL_ADDR_TIMEOUT.

Units are in milliseconds.

TBA

mergelogs.TRIM_TIMESTAMPS

Public: false

Boolean (default is false)

See org.apache.geode.internal.LogFileParser#TRIM_TIMESTAMPS.

TBA

org.apache.commons.logging.log

Public: false

String (default is org.apache.commons.logging.impl.SimpleLog)

See org.apache.geode.admin.jmx.internal.AgentImpl class init.

This is the name of a class.

This property is also used by commons-logging.jar (and
discussed below).  It is called out here
because of its explicit use in the JMX Agent.

osStatsDisabled

Public: false

Boolean (default is false)

See org.apache.geode.internal.GemFireStatSampler#osStatsDisabled.

TBA

p2p.DEBUG

Public: false

Boolean (default is false)

See org.apache.geode.internal.tcp.TCPConduit#DEBUG.

TBA

p2p.DEBUG_FAIL_FIRST

Public: false

Boolean (default is false)

See com.gemstone.org.jgroups.protocols.pbcast.ClientGmsImpl#join(Address).

TBA

p2p.VERBOSE

Public: false

Boolean (default is false)

See org.apache.geode.internal.tcp.TCPConduit#QUIET.

TBA

p2p.ackSenderThread

Public: false

Boolean (default is false)

See com.gemstone.org.jgroups.protocols.UNICAST#start.

Creates an AckSender thread.

TBA

p2p.backlog

Public: false

Integer (default is 50)

See org.apache.geode.internal.tcp.TCPConduit#BACKLOG.

  backlog is the "accept" backlog configuration parameter all
  conduits server socket */

TBA

p2p.batchBufferSize

Public: false

Integer (default is 1024 * 1024)

See org.apache.geode.internal.tcp.Connection#BATCH_BUFFER_SIZE.

TBA

p2p.batchFlushTime

Public: false

Long in JGroups, Integer in Connection.

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel (default is 20).

See org.apache.geode.internal.tcp.Connection#BATCH_FLUSH_MS.
(Default is 50)

Replaces BUNDLING_TIMEOUT in the JGroups config template.
This in turn sets the max_bundle_timeout property in the
TP JGroups protocol:

    Max number of milliseconds until queued messages are sent. Messages are
    sent when max_bundle_size or
    max_bundle_timeout has been exceeded (whichever occurs faster)

TBA

p2p.batchSends

Public: false

Boolean (default is false)

See org.apache.geode.internal.tcp.Connection#BATCH_SENDS.

TBA

p2p.debugConnect

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

TBA

p2p.defaultConcurrencyLevel

Public: false

Integer (default is the number of processors on current machine,
but no less than 2)

See org.apache.geode.distributed.internal.direct.DirectChannel#DEFAULT_CONCURRENCY_LEVEL.

   Return how many concurrent operations should be allowed by default.

TBA

p2p.defaultLogLevel

Public: false

String (one of "config", "fine", "finer", or "finest")

See org.apache.geode.internal.tcp.TCPConduit#getLogger.

Used only if this class needs to create a logger.

TBA

p2p.directAckTimeout

Public: false

Integer (default is 15000)

See com.gemstone.org.jgroups.protocols.DirAck#DIRACK_TIMEOUT.

  warning timer period for log message while waiting for acks

Units are in milliseconds.

TBA

p2p.disableBatching

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

If true, sets ENABLE_BUNDLING to false and
BUNDLING_TIMEOUT to 30 in the JGroups config template; otherwise
it sets ENABLE_BUNDLING to true and BUNDLING_TIMEOUT
to p2p.batchFlushTime (30 if not set).

ENABLE_BUNDLING maps to the enable_bundling property
in UDP, and BUNDLING_TIMEOUT maps to the
max_bundle_timeout property in UDP.

TBA

p2p.disableDirAckBypass

Public: false

Boolean (defaults to false)

See com.gemstone.org.jgroups.protocols.DirAck#DIRACK_BYPASS.

See com.gemstone.org.jgroups.protocols.TP#dirackBypass.

   set -Dp2p.disableDirAckBypass=true to disengage bypassing most of the stack
   on outgoing messages

TBA

p2p.disableSocketWrite

Public: false

Boolean (defaults to false)

See org.apache.geode.internal.tcp.Connection#SOCKET_WRITE_DISABLED.

  use to test message prep overhead (no socket write).
  WARNING: turning this on completely disables distribution of batched sends

TBA

p2p.disconnectDelay

Public: false

Integer (default is 3000)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#destroyMember.

TBA Workaround for bug 34010: small pause inserted before closing
reader threads for a departed member.

p2p.discoveryProbes

Public: false

Integer (default is 2)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

This substitutes the NUM_PING_REQUESTS field in the JGroups
config template, which in turn sets the num_ping_requests property
in the Discovery protocol.

Number of GET_MBRS_REQ messages to be sent (min=1), distributed over timeout ms

TBA

p2p.discoveryTimeout

Public: false

Long (default is 1000)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

Sets the DISCOVERY_TIMEOUT field in the JGroups template, which
in turn sets the timeout property in the Discovery
protocol.

Units are in milliseconds.

TBA

p2p.enableInitialCoordinator

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

See com.gemstone.org.jgroups.protocols.pbcast.GMS#setProperties.

The boolean inverse of this property substitutes DISABLE_COORD in
the JGroups template file, which in turn sets the
disable_initial_coord property in pbcast.GMS.

TBA

p2p.enableJgStackStats

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#enableJgStackStats.

  whether time-based statistics should be gathered for up/down events

TBA

p2p.enableUcastFlush

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#DISABLE_UCAST_FLUSH.

Regarding the DISABLE_UCAST_FLUSH = !Boolean.getBoolean():

      Sometimes the jgroups channel is blocked until unicast messages
      are all ack'd.  This boolean disables that blocking and can
      increase performance in situations where it's okay to deliver
      point-to-point and multicast messages out of order

TBA

p2p.handshakeTimeoutMs

Public: false

Integer (default is 59000)

See org.apache.geode.internal.tcp.Connection#HANDSHAKE_TIMEOUT_MS.

TBA

p2p.HANDSHAKE_POOL_SIZE

Public: false

Integer (default is 10)

See org.apache.geode.internal.tcp.

p2p.incomingPacketHandler

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

Substitutes INCOMING_PACKET_HANDLER in the JGroups template
string, which in turn sets the use_incoming_packet_handler
property in UDP.

If set, a separate thread is used to collect incoming UDP messages and to
dispatch JGroups events.

p2p.joinTimeout

Public: false

Long (default is 10000)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

Sets the JOIN_TIMEOUT field in the JGroups config template, which
in turn sets the join_timeout property in the
pbcast.GMS protocol.

Units are in milliseconds.

TBA

p2p.lingerTime

Public: false

Integer (default is 5000)

See org.apache.geode.internal.tcp.Connection#Connection(ConnectionTable, Socket).

Sets the SO_LINGER time on direct channel TCP sockets.
Units are in milliseconds.

p2p.listenerCloseTimeout

Public: false

Integer (default is 60000)

See org.apache.geode.internal.tcp.TCPConduit#LISTENER_CLOSE_TIMEOUT.

  max amount of time (ms) to wait for listener threads to stop

TBA

p2p.maxConnectionSenders

Public: false

Integer (default is p2p.defaultConcurrencyLevel)

See org.apache.geode.internal.tcp.Connection#MAX_SENDERS.

  The maximum number of concurrent senders sending a message to a single
  recipient.

TBA

p2p.maxGroupSenders

Public: false

Integer (default is p2p.defaultConcurrencyLevel)

See org.apache.geode.distributed.internal.direct.DirectChannel#MAX_GROUP_SENDERS.

  The maximum number of concurrent senders sending a message to a group of
  recipients.

TBA

p2p.maxSentMsgsSize

Public: false

Long (default is 100000)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

This substitutes the MAX_SENT_MSGS_SIZE field in the JGroups
config template, which in turn sets the max_sent_msgs_size
property in the pbcast.NAKACK protocol.

  maximum number of sent messages

This controls uncontrolled backlog (memory growth) in the NAKACK JGroups
protocol layer (this is a GemStone addition).

p2p.nodirectBuffers

Public: false

Boolean (default is false)

See org.apache.geode.internal.tcp.TCPConduit#useDirectBuffers.

  use direct ByteBuffers instead of heap ByteBuffers for NIO operations

TBA

p2p.numInitialMembers

Public: false

Integer (default is 1)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

This substitutes the NUM_INITIAL_MEMBERS string in the JGroups
config template, which in turn sets the num_initial_members
property in the PING protocol.

  the minimum number of initial members for a FIND_INITAL_MBRS, default is 2

TBA

p2p.oldIO

Public: false

Boolean (default is false)

See org.apache.geode.internal.tcp.TCPConduit#useNIO.

If set, don't use java.nio.

p2p.outgoingPacketHandler

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

Sets OUTGOING_PACKET_HANDLER in the JGroups config template,
which in turn sets the use_outgoing_packet_handler property in
UDP.

If set, JGroups uses a separate thread to manage outgoing messages and
related events.

p2p.readerBufferSize

Public: false

Integer (default is 32768)

See org.apache.geode.internal.tcp.Connection#INITIAL_CAPACITY.

TBA

p2p.retransmissionAcks

Public: false

Boolean (default is false)

See com.gemstone.org.jgroups.protocols.DirAck#ALWAYS_RELEASE.

TBA

p2p.simulateDiscard

Public: false

Boolean (default is false)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

If true, inserts a DISCARD protocol into the JGroups stack.

TBA

p2p.simulateDiscard.received

Double (between 0 and 1, default is 0)

Public: false

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

Sets the up property in the JGroups DISCARD protocol.

TBA

p2p.simulateDiscard.sent

Public: false

Double (between 0 and 1, default is 0.05)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

Sets the down property in the JGroups DISCARD
protocol.

TBA

p2p.socket_timeout

Public: false

Long (default is 60000)

See org.apache.geode.distributed.internal.membership.jgroup.JGroupMembershipManager#createChannel.

Substitutes the SOCKET_TIMEOUT field in the JGroups config
template, which in turn sets the socket_timeout field in the
DirAck protocol.

Units are in milliseconds.

TBA

p2p.tcpBufferSize

Public: false

Integer (default is 32768)

See TCPConduit.

Any value smaller than 1024 will be set to 1024.
If the gemfire property socket-buffer-size is set to a value other than 32768
then this system property will be ignored.
Otherwise this system property sets the p2p socket-buffer-size.

Units are are bytes.

p2p.test.inhibitAcceptor

Public: false

Boolean (default is false)

See org.apache.geode.internal.tcp.TCPConduit#startAcceptor(int, int, InetAddress).

TBA

p2p.useSSL

Public: false

Boolean (default is false)

See org.apache.geode.internal.tcp.TCPConduit#useSSL.

TBA

persist.properties

Public: false

String

See com.gemstone.org.jgroups.persistence.DBPersistenceManager#DBPersistenceManager(String).

This is the name of a file that is read when an instance is created.

Note: this class is not used by GemFire.

query.disableIndexes

Public: false

Boolean (default is false)

See org.apache.geode.cache.query.internal.index.IndexUtils#indexesEnabled.

TBA

remote.call.popup

Public: false

Integer (default is 10, unless the Integer.parseInt throws a NumberFormatException in which case, the value is 5)

See org.apache.geode.internal.admin.remote.RemoteCall#getPopupTime.

Units are in seconds.

TBA

remote.call.timeout

Public: false

Integer (default is 1800)

See org.apache.geode.internal.admin.remote.AdminWaiters#getWaitTimeout.

Units are in seconds.

TBA

resolve.dns

Public: false

Boolean (default is false)

See com.gemstone.org.jgroups.stack.IpAddress class init.

See com.gemstone.org.jgroups.util.Util class init.

If set to true, InetAddress's may be printed by JGroups using getHostName instead of getHostAddress.

TBA

scheduler.max.threads

Public: false

Integer (default 128)

See com.gemstone.org.jgroups.util.Scheduler#Scheduler().

      max number of threads, will only be allocated when needed

TBA Is this class even used?

skipConnection

Public: false

Boolean (default is false)

Removed in Geode 1.0 with removal of deprecated Bridge classes.

TBA

slowStartTimeForTesting

Public: false

Long (default is 5000)

See org.apache.geode.internal.cache.tier.sockets.CacheClientProxy.MessageDispatcher#slowStartTimeForTesting.

Units are in milliseconds.

TBA

stats.archive-file

Public: false

String

See org.apache.geode.internal.SimpleStatSampler#archiveFileName.

This is a filename.

TBA

stats.disable

Public: false

Boolean (default is false)

See org.apache.geode.internal.LocalStatisticsFactory#statsDisabled.

TBA

stats.disk-space-limit

Public: false

Long (default is 1024 * 1024)

See org.apache.geode.internal.SimpleStatSampler#archiveDiskSpaceLimit.

TBA

stats.file-size-limit

Public: false

Long (default is 0)

See org.apache.geode.internal.SimpleStatSampler#archiveFileSizeLimit.

Units are in megabytes

TBA

stats.log-level

Public: false

String (See LogWriterImpl.levelNameToCode)

See org.apache.geode.internal.LocalStatisticsFactory#logLevel.

TBA

stats.name

Public: false

String

See org.apache.geode.internal.LocalStatisticsFactory#name.

TBA

stats.sample-rate

Public: false

Integer (default is 1000)

See org.apache.geode.internal.SimpleStatSampler#sampleRate.

Units are in milliseconds.

TBA

target.override

Public: false

Integer

See org.apache.geode.internal.gui.Service#Service().

      A multicast port for a distributed system that will
      automatically be created by the console.  Its value can be set
      via a system property.  It is used only for testing.

TBA

tcpServerPort

Public: false

Integer (default is the tcp-port property in the distribution config)

See org.apache.geode.distributed.internal.direct.DirectChannel#DirectChannel(MembershipManager, DistributedMembershipListener, DistributionConfig, LogWriter, Properties).

TBA

Other Jars

commons-logging-1.1.1.jar

Miscellaneous: org.apache.commons.logging.log.logName, where
the name is the String passed to the SimpleLog constructor:  This is a String
used to set the logging level of the logger.

org.apache.commons.logging.log

Public: false

String

Default is org.apache.commons.logging.impl.Log4JLogger (if available),
else org.apache.commons.logging.impl.Jdk14Logger,
else org.apache.commons.logging.impl.SimpleLog.

See org.apache.commons.logging.impl.LogFactoryImpl#LOG_PROPERTY

    The name of the system property identifying our {@link Log}
    implementation class.

org.apache.commons.logging.simplelog.dateformat

Public: false

String (default is "yyyy/MM/dd HH:mm:ss:SSS zzz")

String format derived from SimpleDateFormat.

See org.apache.commons.logging.impl.SimpleLog class init.

"Used to format times"

org.apache.commons.logging.simplelog.showDateTime

Public: false

Boolean (default is false)

See org.apache.commons.logging.impl.SimpleLog class init.

Include the current time in the log message

org.apache.commons.logging.simplelog.showLogName

Public: false

Boolean (default is false)

See org.apache.commons.logging.impl.SimpleLog class init.

"Include the instance name in the log message?"

org.apache.commons.logging.simplelog.showShortName

Public: false

String (default is true)

See org.apache.commons.logging.impl.SimpleLog class init.

Include the short name ( last component ) of the logger in the log message.
Default to true - otherwise we'll be lost in a flood of messages without
knowing who sends them.

jta-1_0_1B.jar

TBA

rt.jar

TBA

sunrsasign.jar

TBA

jsse.jar

cert.provider.x509v1security

Public: false

String

X509Certificate implementation.  See the JSSE documentation.

java.protocol.handler.pkgs

Public: false

String

HTTPS protocol implementation.  See the JSSE documentation.

java.security.debug

Public: false

String

Geniric dynamic debug tracing support.  See the JSSE documentation.

javax.net.debug

Public: false

String

JSSE-specific dynamic debug tracing support.  See the JSSE documentation.

javax.net.ssl.keyStore

Public: false

String

default keystore.  See the JSSE documentation.

javax.net.ssl.keyStoreType

Public: false

String

default keystore type.  See the JSSE documentation.

javax.net.ssl.keyStorePassword

Public: false

String

default keystore password.  See the JSSE documentation.

<strongjavax.net.ssl.trustStore>

Public: false

String

If the system property javax.net.ssl.trustStore is
defined, then the TrustManagerFactory attempts to find a file using the
filename specified by that system property, and uses that file for the
KeyStore. If that file does not exist, then a default TrustManager using an
empty keystore is created.

javax.net.ssl.trustStorePassword

Public: false

String

default truststore password.  See the JSSE documentation.

jce.jar

(none found)

charsets.jar

(none found)

localedata.jar

TBA

ldapsec.jar

TBA

sunjce_provider.jar

(none found)


text:
#ifndef LayoutRuby_h
#define LayoutRuby_h

#include "core/layout/LayoutBlockFlow.h"
#include "core/layout/LayoutInline.h"

namespace blink {

// Following the HTML 5 spec, the box object model for a <ruby> element allows several runs of ruby
// bases with their respective ruby texts looks as follows:
//
// 1 LayoutRuby object, corresponding to the whole <ruby> HTML element
//      1+ LayoutRubyRun (anonymous)
//          0 or 1 LayoutRubyText - shuffled to the front in order to re-use existing block layouting
//              0-n inline object(s)
//          0 or 1 LayoutRubyBase - contains the inline objects that make up the ruby base
//              1-n inline object(s)
//
// Note: <rp> elements are defined as having 'display:none' and thus normally are not assigned a layoutObject.
//
// Generated :before/:after content is shunted into anonymous inline blocks

// <ruby> when used as 'display:inline'
class LayoutRubyAsInline final : public LayoutInline {
public:
    LayoutRubyAsInline(Element*);
    virtual ~LayoutRubyAsInline();

    virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) override;
    virtual void removeChild(LayoutObject* child) override;

    virtual const char* name() const override { return "LayoutRuby (inline)"; }

protected:
    virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;

private:
    virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectRuby || LayoutInline::isOfType(type); }
    virtual bool createsAnonymousWrapper() const override { return true; }
};

// <ruby> when used as 'display:block' or 'display:inline-block'
class LayoutRubyAsBlock final : public LayoutBlockFlow {
public:
    LayoutRubyAsBlock(Element*);
    virtual ~LayoutRubyAsBlock();

    virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) override;
    virtual void removeChild(LayoutObject* child) override;

    virtual const char* name() const override { return "LayoutRuby (block)"; }

protected:
    virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;

private:
    virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectRuby || LayoutBlockFlow::isOfType(type); }
    virtual bool createsAnonymousWrapper() const override { return true; }
    virtual void removeLeftoverAnonymousBlock(LayoutBlock*) override { ASSERT_NOT_REACHED(); }
};

} // namespace blink

#endif // LayoutRuby_h

redpajama_set_name: RedPajamaGithub


text:
#ifndef HTTP_CLIENT_APPLE_H
#define HTTP_CLIENT_APPLE_H
#if defined(__APPLE__)

#include "http_client.hpp"

#include <string>

using std::string;
using std::list;

namespace snowplow {
/**
 * @brief HTTP client for making requests to Snowplow Collector using Apple Core Foundation APIs.
 *
 * This HTTP client is only compatible with Apple operating systems.
 */
class HttpClientApple : public HttpClient {
public:
  ~HttpClientApple() {}

protected:
  HttpRequestResult http_request(const RequestMethod method, const CrackedUrl url, const string & query_string, const string & post_data, list<int> row_ids, bool oversize);
};
}

#endif
#endif


text:
#if !defined(FUSION_SEQUENCE_FILTER_VIEW_HPP)
#define FUSION_SEQUENCE_FILTER_VIEW_HPP

#include <boost/fusion/support/detail/access.hpp>
#include <boost/fusion/support/sequence_base.hpp>
#include <boost/fusion/support/is_view.hpp>
#include <boost/fusion/view/filter_view/filter_view_iterator.hpp>
#include <boost/fusion/view/filter_view/detail/begin_impl.hpp>
#include <boost/fusion/view/filter_view/detail/end_impl.hpp>
#include <boost/fusion/view/filter_view/detail/size_impl.hpp>
#include <boost/fusion/sequence/intrinsic/begin.hpp>
#include <boost/fusion/sequence/intrinsic/end.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/mpl/eval_if.hpp>
#include <boost/mpl/inherit.hpp>
#include <boost/mpl/identity.hpp>

namespace boost { namespace fusion
{
    struct filter_view_tag;
    struct forward_traversal_tag;
    struct fusion_sequence_tag;

    template <typename Sequence, typename Pred>
    struct filter_view : sequence_base<filter_view<Sequence, Pred> >
    {
        typedef filter_view_tag fusion_tag;
        typedef fusion_sequence_tag tag; // this gets picked up by MPL
        typedef typename
            mpl::eval_if<
                traits::is_associative<Sequence>
              , mpl::inherit2<forward_traversal_tag,associative_tag>
              , mpl::identity<forward_traversal_tag>
            >::type
        category;
        typedef mpl::true_ is_view;

        typedef typename result_of::begin<Sequence>::type first_type;
        typedef typename result_of::end<Sequence>::type last_type;
        typedef Pred pred_type;

        filter_view(Sequence& seq)
            : seq(seq)
        {}

        first_type first() const { return fusion::begin(seq); }
        last_type last() const { return fusion::end(seq); }
        typename mpl::if_<traits::is_view<Sequence>, Sequence, Sequence&>::type seq;

    private:
        // silence MSVC warning C4512: assignment operator could not be generated
        filter_view& operator= (filter_view const&);
    };
}}

#endif


text:
#include "config.h"
#include "public/web/WebSelector.h"

#include "../platform/WebString.h"
#include "public/platform/WebUnitTestSupport.h"
#include <gtest/gtest.h>

using namespace blink;

namespace {

TEST(WebSelectorTest, Canonicalizes)
{
    EXPECT_EQ("h1, h2[style=\"foobar\"] span", canonicalizeSelector("h1,h2[style='foobar']    span").utf8());
    EXPECT_EQ("h1, h2[style=\"foobar\"] span", canonicalizeSelector("h1, h2[style=\"foobar\"] span").utf8());
}

TEST(WebSelectorTest, Checks)
{
    EXPECT_EQ("", canonicalizeSelector("h1..h2").utf8());
    EXPECT_EQ("", canonicalizeSelector("h1..h2", WebSelectorTypeCompound).utf8());
}

TEST(WebSelectorTest, Restricts)
{
    EXPECT_EQ("", canonicalizeSelector("h1 span,h2", WebSelectorTypeCompound).utf8());
    EXPECT_EQ("h1, h2[style=\"foobar\"].cls", canonicalizeSelector("h1,h2[style=\"foobar\"].cls", WebSelectorTypeCompound).utf8());
}

} // namespace


text:
/* ** GENEREATED FILE - DO NOT MODIFY ** */
/**
 * MessengerAPI.
 * Messenger API Type Library
 */
package com.wilutions.mslib.messengerapi;


text:
<!DOCTYPE html >

          <title></title>
          <meta name="description" content="" />
          <meta name="keywords" content="" />
          <meta http-equiv="content-type" content="text/html; charset=UTF-8" />

      <link href="../lib/ref-index.css" media="screen" type="text/css" rel="stylesheet" />

Head

Position stream

Helpers

widok

head

PollBuffer ReadChannel AbsoluteOrder Head

headOption

PollBuffer AbsoluteOrder


text:
module("find coalescing");

test("multiple calls to Model#find within the same run loop coalesce into a findMany call", function() {
  expect(2);

  var Model = Ember.Model.extend();

  Model.adapter = {
    find: function() {
      ok(false, "find was called");
    },

    findMany: function(klass, records, ids) {
      ok(true, "findMany was called");
      deepEqual(ids, [1,2,3], "The correct ids were passed into findMany");
    }
  };
  Ember.run(function() {
    Model.find(1);
    Model.find(2);
    Model.find(3);
  });
});

test("coalesced findMany call should only include records which aren't loaded in the identity map", function() {
  expect(2);

  var Model = Ember.Model.extend({
    id: Ember.attr()
  });

  Model.adapter = {
    findMany: function(klass, records, ids) {
      ok(true, "findMany was called");
      deepEqual(ids, [2,3], "The correct ids were passed into findMany");
    }
  };

  var record = Model.create({ id: 1 });
  Ember.run(record, record.didCreateRecord);
  Ember.run(record, record.load, 1);

  Ember.run(function() {
    Model.find([1, 2, 3]);
  });
});

test("coalesced findMany returns a resolved promise even if all records are loaded from cache", function() {
  expect(1);

  var Model = Ember.Model.extend({
    id: Ember.attr()
  });

  Model.adapter = {
    findMany: function(klass, records, ids) {
      ok(false, "findMany shouldn't be called");
    }
  };

  var record = Model.create({ id: 1 });
  Ember.run(record, record.didCreateRecord);
  Ember.run(record, record.load, 1);

  var record2 = Model.create({ id: 2 });
  Ember.run(record2, record.didCreateRecord);
  Ember.run(record2, record.load, 2);

  var promise = Ember.run(Model, Model.fetch, [1, 2]);

  Ember.run(function() {
    promise.then(function(records) {
      equal(records.get("length"), 2);
    });
  });
});

test("calls to Model#find and Model#findMany within the same run loop coalesce into a single findMany call", function() {
  expect(2);

  var Model = Ember.Model.extend();

  Model.adapter = {
    find: function() {
      ok(false, "find was called");
    },

    findMany: function(klass, records, ids) {
      ok(true, "findMany was called");
      deepEqual(ids, [1,2,3], "The correct ids were passed into findMany");
    }
  };

  Ember.run(function() {
    Model.find(1);
    Model.find([2, 3]);
  });
});

test("should unique IDs", function() {
  expect(2);

  var Model = Ember.Model.extend();

  Model.adapter = {
    find: function() {
      ok(false, "find was called");
    },

    findMany: function(klass, records, ids) {
      ok(true, "findMany was called");
      deepEqual(ids, [1,2,3], "The correct ids were passed into findMany");
      records.load(klass, []);
    }
  };

  Ember.run(function() {
    Model.find(1);
    Model.find(1);
    Model.find([2, 3]);
    Model.find([1, 2, 3]);
  });
});

test("should resolve all RecordArrays", function() {
  expect(2);

  var Model = Ember.Model.extend();

  Model.adapter = {
    findMany: function(klass, records, ids) {
      records.load(klass, []);
    }
  };

  var promise1, promise2;

  Ember.run(function() {
    Model.find(1);
    Model.find(1);
    promise1 = Model.fetch([2, 3]);
    promise2 = Model.fetch([1, 2, 3]);

    promise1.then(function() {
      ok(true, "The first RecordArray returned from findMany was loaded");
    });

    promise2.then(function() {
      ok(true, "The second RecordArray returned from findMany was loaded");
    });
  });
});


text:
var home = require('home');
var utils = require('bam.utils');

// define routes for the Book API
module.exports = function (app, passport) {
	// empty homepage
	app.get('/all', home.all);
	app.get('/write', home.write);
	app.get('/launch', home.launch);
	app.get('/authors', home.authors);
}


text:
package conversation

// import (
// 	"log"

// 	"github.com/nlefler/elmo/apiai"
// )

// type locAndAction struct {
// 	action  string
// 	locName string
// }

// func (l locAndAction) IsFulfilled() bool {
// 	return l.action != "" && l.locName != ""
// }

// func locationActionHandler(ctx *Context, call apiai.ActionCall) apiai.ActionResponse {
// 	log.Printf("locationActionHandler Got%v\n", call)

// 	var locAndActionCtx *locAndAction
// 	sctx, found := ctx.GetSubcontext("laa")
// 	if !found {
// 		locAndActionCtx = &locAndAction{}
// 	} else {
// 		var converted bool
// 		locAndActionCtx, converted = sctx.(*locAndAction)
// 		if !converted {
// 			locAndActionCtx = &locAndAction{}
// 		}
// 	}

// 	actionType, ok := call.Result.Parameters["meal_location_action"]
// 	if !ok || actionType == "" {
// 		log.Println("locationActionHandler No location action param")
// 	} else {
// 		locAndActionCtx.action = actionType
// 		ctx.AddSubcontext("laa", locAndActionCtx)
// 	}

// 	locName, ok := call.Result.Parameters["meal_location"]
// 	if !ok || locName == "" {
// 		log.Println("locationActionHandler No location param")
// 		place, err := ctx.GetLocation()
// 		if err == nil {
// 			locAndActionCtx.locName = place.Name
// 		}
// 	} else {
// 		locAndActionCtx.locName = locName
// 		ctx.SetLocation(locAndActionCtx.locName)
// 		ctx.AddSubcontext("laa", locAndActionCtx)
// 	}

// 	if locAndActionCtx.action == "" {
// 		return apiai.NewActionResponse("What do you want to do?", ctx.GetSessionID())
// 	}
// 	if locAndActionCtx.locName == "" {
// 		return apiai.NewActionResponse("Where?", ctx.GetSessionID())
// 	}

// 	switch locAndActionCtx.action {
// 	case "log":
// 		return startLogHandler(ctx, call)
// 	case "last_meal":
// 		return lastMealHandler(ctx, call)
// 	case "last_sugar":
// 		return lastSugarHandler(ctx, call)
// 	}
// 	return apiai.NewActionErrorResponse("Can't understand", ctx.GetSessionID())
// }


text:
namespace routing
{
class FakeGraph
{
public:
  // Adds vertex with no connections.
  void AddStandaloneVertex(Segment const & newSegment, FakeVertex const & newVertex);
  // Adds vertex. Connects newSegment to existentSegment. Adds ingoing and
  // outgoing edges, fills segment to vertex mapping. Fills real to fake and fake to real
  // mapping if isPartOfReal is true.
  void AddVertex(Segment const & existentSegment, Segment const & newSegment,
                 FakeVertex const & newVertex, bool isOutgoing, bool isPartOfReal,
                 Segment const & real);
  // Adds connection from existent fake segment |from| to existent fake segment |to|
  void AddConnection(Segment const & from, Segment const & to);
  // Merges |rhs| into this.
  void Append(FakeGraph const & rhs);

  // Returns Vertex which corresponds to |segment|. Segment must be a part of the fake graph.
  FakeVertex const & GetVertex(Segment const & segment) const;
  // Returns outgoing/ingoing edges set for specified segment.
  std::set<Segment> const & GetEdges(Segment const & segment, bool isOutgoing) const;
  size_t GetSize() const;
  std::set<Segment> const & GetFake(Segment const & real) const;

  bool FindReal(Segment const & fake, Segment & real) const;
  bool FindSegment(FakeVertex const & vertex, Segment & segment) const;

  // Connects loop to the PartOfReal segments on the Guides track.
  void ConnectLoopToGuideSegments(FakeVertex const & loop, Segment const & guidesSegment,
                                  LatLonWithAltitude const & guidesSegmentFrom,
                                  LatLonWithAltitude const & guidesSegmentTo,
                                  std::vector<std::pair<FakeVertex, Segment>> const & partsOfReal);

private:
  void ConnectLoopToExistentPartsOfReal(FakeVertex const & loop, Segment const & guidesSegment,
                                        Segment const & directedGuidesSegment);

  // Key is fake segment, value is set of outgoing fake segments.
  std::map<Segment, std::set<Segment>> m_outgoing;
  // Key is fake segment, value is set of ingoing fake segments.
  std::map<Segment, std::set<Segment>> m_ingoing;
  // Key is fake segment, value is fake vertex which corresponds fake segment.
  std::map<Segment, FakeVertex> m_segmentToVertex;
  // Key is fake vertex, value is fake segment which corresponds fake vertex.
  std::map<FakeVertex, Segment> m_vertexToSegment;
  // Key is fake segment of type PartOfReal, value is corresponding real segment.
  std::map<Segment, Segment> m_fakeToReal;
  // Key is real segment, value is set of fake segments with type PartOfReal
  // which are parts of this real segment.
  std::map<Segment, std::set<Segment>> m_realToFake;
  // To return empty set by const reference.
  std::set<Segment> const kEmptySet = std::set<Segment>();
};
}  // namespace routing


text:
'use strict';

const Command = require('../models/command');
const SilentError = require('silent-error');
const Promise = require('rsvp').Promise;

module.exports = Command.extend({
  name: 'install:npm',
  description: 'Npm package installs are now managed by the user.',
  works: 'insideProject',
  skipHelp: true,

  anonymousOptions: [
    '<package-names...>',
  ],

  run() {
    let err = 'This command has been removed. Please use `npm install ';
    err += '<packageName> --save-dev --save-exact` instead.';
    return Promise.reject(new SilentError(err));
  },
});


text:
#region Using Statements
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.GamerServices;
#endregion

namespace SpaceShooter.ElementsClass
{
    /// <summary>
    /// Klasa opisująca cząsteczki
    /// </summary>
    class Particle
    {
        // wektor położenia cząsteczki
        public Vector2 vector;

        // prędkość poruszania się
        public double speed;

        // wielkość cząsteczki
        public double size;

        // maksymalna długość życia
        public int maxLife;

        // długość życia cząsteczki
        // 0 == koniec
        public double life;

        // kolor cząsteczki
        public List<Color> colorList;

        // ID generatora
        public int idSource;

        // typ czasteczki
        public int type;

        // aktualny kąt lotu
        public float angle;
        public float mAngle
        {
            get
            {
                return angle;
            }
            set
            {
                angle = (float)(value * Math.PI / 180);
            }
        }

        // wpływ pola grawitacyjnego
        public bool gravityAreaEffect;

        /// <summary>
        /// Konstruktor pojedynczej cząsteczki
        /// </summary>
        /// <param name="_idSource">ID generatora</param>
        /// <param name="_vector">Wektor rozpoczącia</param>
        /// <param name="_colorList">Lista kolorów</param>
        /// <param name="_life">Życie cząsteczki</param>
        /// <param name="radius">Kąt nachylenia</param>
        /// <param name="_speed">Prędkość</param>
        public Particle(int _idSource, int _type, Vector2 _vector, List<Color> _colorList, double _life, float radius, double _speed = 1.0, double _size = 1, bool _gravityAreaEffect = false)
        {
            idSource = _idSource;
            type = _type;
            vector = _vector;
            angle = radius;
            colorList = _colorList;
            maxLife = (int)_life;
            life = _life;
            speed = _speed;

            gravityAreaEffect = _gravityAreaEffect;
            size = SetRandomSize(_size);
        }

        private double SetRandomSize(double preferSize)
        {
            Random rand = GameLogic.rand;
            return rand.NextDouble() + preferSize;
        }
    }
}


text:
using namespace TCLAP;
using namespace std;

int main(int argc, char** argv)
{
   // Wrap everything in a try block.  Do this every time,
   // because exceptions will be thrown for problems.
   try {

   // Define the command line object.
   CmdLine cmd("Command description message", ' ', "0.9");

   stringstream sin;
   sin >> noskipws;

   sin << argv[0];
   sin << " ";
   sin << argv[1];

   cmd.parse(sin.str());

   } catch (ArgException &e)  // catch any exceptions
   { cerr << "error: " << e.error() << " for arg " << e.argId() << endl; }
}


text:
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| allow\_all\_egress\_ranges | List of network ranges to which all egress traffic will be allowed | `any` | `null` | no |
| allow\_all\_ingress\_ranges | List of network ranges from which all ingress traffic will be allowed | `any` | `null` | no |
| base\_net\_hub\_project\_id | The base net hub project ID | `string` | `""` | no |
| bgp\_asn\_subnet | BGP ASN for Subnets cloud routers. | `number` | n/a | yes |
| default\_region1 | Default region 1 for subnets and Cloud Routers | `string` | n/a | yes |
| default\_region2 | Default region 2 for subnets and Cloud Routers | `string` | n/a | yes |
| dns\_enable\_inbound\_forwarding | Toggle inbound query forwarding for VPC DNS. | `bool` | `true` | no |
| dns\_enable\_logging | Toggle DNS logging for VPC DNS. | `bool` | `true` | no |
| dns\_hub\_project\_id | The DNS hub project ID | `string` | n/a | yes |
| domain | The DNS name of peering managed zone, for instance 'example.com.' | `string` | n/a | yes |
| environment\_code | A short form of the folder level resources (environment) within the Google Cloud organization. | `string` | n/a | yes |
| firewall\_enable\_logging | Toggle firewall logging for VPC Firewalls. | `bool` | `true` | no |
| mode | Network deployment mode, should be set to `hub` or `spoke` when `enable_hub_and_spoke` architecture chosen, keep as `null` otherwise. | `string` | `null` | no |
| nat\_bgp\_asn | BGP ASN for first NAT cloud routes. | `number` | `64514` | no |
| nat\_enabled | Toggle creation of NAT cloud router. | `bool` | `false` | no |
| nat\_num\_addresses | Number of external IPs to reserve for Cloud NAT. | `number` | `2` | no |
| nat\_num\_addresses\_region1 | Number of external IPs to reserve for first Cloud NAT. | `number` | `2` | no |
| nat\_num\_addresses\_region2 | Number of external IPs to reserve for second Cloud NAT. | `number` | `2` | no |
| org\_id | Organization ID | `string` | n/a | yes |
| private\_service\_cidr | CIDR range for private service networking. Used for Cloud SQL and other managed services. | `string` | `null` | no |
| private\_service\_connect\_ip | Internal IP to be used as the private service connect endpoint. | `string` | n/a | yes |
| project\_id | Project ID for Private Shared VPC. | `string` | n/a | yes |
| secondary\_ranges | Secondary ranges that will be used in some of the subnets | `map(list(object({ range_name = string, ip_cidr_range = string })))` | `{}` | no |
| subnets | The list of subnets being created | `list(map(string))` | `[]` | no |
| windows\_activation\_enabled | Enable Windows license activation for Windows workloads. | `bool` | `false` | no |

## Outputs

| Name | Description |
|------|-------------|
| network\_name | The name of the VPC being created |
| network\_self\_link | The URI of the VPC being created |
| subnets\_flow\_logs | Whether the subnets have VPC flow logs enabled |
| subnets\_ips | The IPs and CIDRs of the subnets being created |
| subnets\_names | The names of the subnets being created |
| subnets\_private\_access | Whether the subnets have access to Google API's without a public IP |
| subnets\_regions | The region where the subnets will be created |
| subnets\_secondary\_ranges | The secondary ranges associated with these subnets |
| subnets\_self\_links | The self-links of subnets being created |

<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->


text:
package org.zstack.header.volume;

import org.zstack.header.message.APIEvent;
import org.zstack.header.rest.RestResponse;

@RestResponse
public class APIDetachDataVolumeFromHostEvent extends APIEvent {
    public APIDetachDataVolumeFromHostEvent() {
    }

    public APIDetachDataVolumeFromHostEvent(String apiId) {
        super(apiId);
    }
    public static APIDetachDataVolumeFromHostEvent __example__() {
        APIDetachDataVolumeFromHostEvent event = new APIDetachDataVolumeFromHostEvent();
        event.setSuccess(true);
        return event;
    }
}


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cpln.Enigmos.Enigmas
{
    public class Singe
    {
        //Attributs
        private bool bEtat;
        private bool bEtatCymbales;

        //Méthodes

        /// <summary>
        /// Permet d'activer un singe
        /// </summary>
        public void Activer()
        {
            bEtat = true;
        }
        /// <summary>
        /// Permet d'arrêter le mouvement d'un singe
        /// </summary>
        private void Desactiver()
        {
            bEtat = false;
        }
        /// <summary>
        /// Inverse l'état d'un singe
        /// </summary>
        private void Inverser()
        {
            if (bEtat == true)
            {
                bEtat = false;
            }
            if (bEtat == false)
            {
                bEtat = true;
            }
        }

        public static Singe CreateSinge(EnigmaPanel panel, List<Singe> listSinge)
        {
            //Formatages des pictures box, insertions de l'image du singe, ajout à la liste de singe
            bEtatSinge = false;
            bEtatCymbales = true;
            pbxSinge.BackColor = Color.Transparent;
            pbxSinge.Image = Properties.Resources.SingeBleuCymbalesOuvertes;
            pbxSinge.Size = Properties.Resources.SingeBleuCymbalesOuvertes.Size;
            panel.Controls.Add(pbxSinge);
            listSinge.Add(pbxSinge);
        }
    }
}


text:
permalink: /docs/deploying/bluemix/index.html
layout: docs
---

If you've been following along with [Getting Started](../README.md), it's time
to deploy so you can use it beyond just your local machine.
[IBM Bluemix](http://bluemix.net) is a way to deploy hubot as an alternative to
[Heroku](/docs/deploying/heroku.md). It is built on the open-source project
[Cloud Foundry](https://www.cloudfoundry.org/), so we'll be using the `cf cli`
throughout these examples.

Unlike Heroku, the free tier on Bluemix supports 24/7 uptime, so you don't need
to go through the hassle of setting up something like
[hubot-heroku-keepalive](https://github.com/hubot-scripts/hubot-heroku-keepalive).

You will need to install the
[Cloud Foundry CLI](https://github.com/cloudfoundry/cli/releases), and create a
[Bluemix Account](http://bluemix.net).

First we need to define a `manifest.yml` file in the root directory (and delete
the generated `procfile`). The contents of the manifest at the bare minimum
should look like:

```yml
applications:
- buildpack: https://github.com/jthomas/nodejs-v4-buildpack.git
  command: ./bin/hubot --adapter slack
  path: .
  instances: 1
  memory: 256M
```

In this example, we're using the slack adapter (as shown by the start command).
Of course, the start command can be whatever you need to start your specific
hubot. You can optionally set a `host`, and `name`, and much more, or you can
set those up through the Bluemix GUI in the dashboard. For thorough
documentation on what the `manifest.yml` file does and how it used and how to
configure your own, see
[these docs](https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html).

You then need to connect your hubot project to Bluemix:

```sh
$ cd your_hubot_project
$ cf api https://api.ng.bluemix.net
$ cf login
```

This will prompt you with your login credentials. Then to deploy your hubot, all
you need to do is:

```sh
$ cf push NAME_OF_YOUR_HUBOT_APP
```

Note: if you do not specify a `name` and `host` in your manifest, you will have
needed to create a `Node.js` Cloudfoundry app in the Bluemix dashboard. You then
use the name that of that app in your `cf push` command. For very thorough
documentation on deploying a Node.js app to Bluemix, please
[read here](https://www.ng.bluemix.net/docs/starters/nodejs/index.html), for
very thorough documentation of the command line interface, please
[read here](https://www.ng.bluemix.net/docs/cli/reference/cfcommands/index.html).

Finally you will need to add the environment variables to the website to make
sure it runs properly. You can either do it through the GUI (under your app's
dashboard) or you can use the command line, as follows (example is showing slack
as an adapter):

```sh
$ cf set-env NAME_OF_YOUR_HUBOT_APP HUBOT_SLACK_TOKEN TOKEN_VALUE
```

### Usage With Git

It is not mandatory to use Bluemix with git, but Bluemix supports delivery
pipelines that can be tied to Github, Github Enterprise, or a private JazzHub
repo.

Inside your new hubot directory, make sure you've created a git repository,
and that your work is committed:

```sh
$ git init
$ git add .
$ git commit -m "Initial commit"
```

Then [create a GitHub repository](https://help.github.com/articles/create-a-repo/)
for your hubot. This is where Bluemix will pull your code from instead of
needing to deploy directly from your dev machine to Bluemix.

```sh
$ git remote add origin _your GitHub repo_
$ git push -u origin master
```

Once you have your GitHub repo, navigate to your project dashboard, and click
"add git" (in the upper right hand corner). This will guide you through the
process of using either your Github account, or setting up a JazzHub account.
You can then add any permutations of test/build/deploy stages into your
pipeline. For thorough documentation on that, see
[here](https://www.ng.bluemix.net/docs/#services/DeliveryPipeline/index.html#getstartwithCD).

### Further Reading

  - [Deploying Cloud Foundry Apps To Bluemix](https://www.ng.bluemix.net/docs/cfapps/runtimes.html)
  - [Neploying Node.js Apps to Bluemix](https://www.ng.bluemix.net/docs/starters/nodejs/index.html)
  - [Setting up your manifest](https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html)
  - [Understanding the CF CLI](https://www.ng.bluemix.net/docs/cli/reference/cfcommands/index.html)
  - [Setting up a Build Pipleline in Bluemix](https://www.ng.bluemix.net/docs/#services/DeliveryPipeline/index.html#getstartwithCD)


text:
package org.nerdboy.chatbot.brain.ability;

import org.junit.Before;
import org.junit.Test;

import static org.junit.Assert.*;

/**
 * Created by xsank.mz on 2016/5/28.
 */
public class DatetimeTest {
    private Datetime datetime;

    @Before
    public void setUp(){
        datetime=new Datetime();
    }

    @Test
    public void testProcess() throws Exception {
        System.out.println(datetime.process("现在时间"));
    }
}


text:
<?xml version="1.0" encoding="UTF-8"?><concept xmlns="http://www.w3.org/2004/02/skos/core#">
      <prefLabel>FREE LOOK (MEDIGAP POLICY)*</prefLabel>
      <definition>A period of time (usually 30 days) when you can try out a Medigap policy. During
         this time, if you change your mind about keeping the policy, it can be cancelled. If you
         cancel, you will get your money back.</definition>
   </concept>


text:
This is a [OmniAuth](http://www.omniauth.org/) strategy for authenticating to HumanAPI. To use it, you'll need to sign up for an OAuth2 Application ID and Secret on the [Human API applications page](http://developer.humanapi.co/).

## Basic Usage

    use OmniAuth::Builder do
      provider :humanapi, ENV['HUMANAPI_KEY'], ENV['HUMANAPI_SECRET']
    end

## Example Sinatra usage

    get '/auth/humanapi/callback' do
      auth   = env['omniauth.auth']
      uid    = auth[:uid]
      email  = auth[:info][:email]
      token  = auth[:credentials][:token]
      'ok'
    end

## Pre-registration

HumanAPI allows you to [pre-register](https://user.humanapi.co/developer/docs/app_users) users so they won't have to sign up themselves. By pre-registering, you will receive a `humanId` for every user. This has to be passed as a query parameter to the authentication path:

    /auth/humanapi?human_id=52867cbede3155565f000a0d