public class ConnectionClient extends CachePerfClient
ACCESSORCACHEOPENS, ACCESSORCACHEOPENS_NAME, allowConflicts, allowNulls, batchCount, batchSeconds, batchSize, batchStartTime, batchTerminator, cache, CACHEOPENS, CACHEOPENS_NAME, COMBINEDPUTGETS, COMBINEDPUTGETS_NAME, commitPercentage, CONNECTS, CONNECTS_NAME, count, CREATEGETS, CREATEGETS_NAME, CREATEKEYS, CREATEKEYS_NAME, CREATES, CREATES_NAME, currentKey, currentNumPseudoRandomKeys, currentSequenceNumber, DATASTORECACHEOPENS, DATASTORECACHEOPENS_NAME, destroyAfterGet, destroyLocally, DESTROYS, DESTROYS_NAME, EXTRA_GETS, EXTRA_GETS_NAME, EXTRA_PUTS, EXTRA_PUTS_NAME, GETS, GETS_NAME, GETSCOMPARISON, GETSCOMPARISON_NAME, hadFullSizeTx, histogram, interestListBatch, invalidateAfterGet, invalidateLocally, isMainWorkload, iterationsSinceTxEnd, jid, keyAllocation, keyAllocationChunkSize, keyCount, keyGenerator, keyType, lastTaskTerminatorTime, lastWarmupTerminatorTime, LOCKS, LOCKS_NAME, maxKeys, numOperations, numPseudoRandomKeys, numThreads, numWanSites, OPS, OPS_NAME, optimizationCount, PUTGETS, PUTGETS_NAME, PUTS, PUTS_NAME, PUTSCOMPARISON, PUTSCOMPARISON_NAME, QUERIES, QUERIES_NAME, registerDurableInterest, REGISTERINTERESTS, REGISTERINTERESTS_NAME, rng, SLEEP, SLEEP_NAME, sleepBeforeOp, startTime, statistics, sttgid, syncSleepMs, task, taskTerminator, taskTerminatorFrequency, terminatorArgs, tgid, tid, tm, trimInterval, trimIntervals, trimIterations, trimSeconds, ttgid, txSize, UPDATES, UPDATES_NAME, USECASE12_UPDATES, USECASE12_UPDATES_NAME, useTransactions, validateObjects, warmedUp, warmupCount, warmupTerminator, warmupTerminatorFrequency, warmupTime, workIterations, workSeconds| Constructor and Description |
|---|
ConnectionClient() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cycleConnectionOnceTask()
TASK to cycle the connection on a distributed system, once only.
|
static void |
preloadResourceTask()
INITTASK to preload classes from the resource specified in
PreloadPrms.resourceFile. |
addDataHostTask, addGatewaysTask, addWBCLGatewayTask, assignBuckets, assignBucketsTask, begin, bounceTask, cacheEndTrim, cacheStartTrim, checkForTxEnd, checkFrequency, clearTask, closeCache, closeCacheTask, closeStatistics, closeStatisticsTask, combinePutGetDataTask, compactionTask, connectTask, create, createAllDataTask, createAndStartLocatorTask, createCache, createCacheTask, createData, createDataTask, createEntryMapTask, createGatewayHubTask, createGatewaySenderIdsTask, createKeysTask, createPoolTask, cycleDistributedSystemConnectionOnlyTask, cycleDistributedSystemConnectionTask, cycleDurableClientTask, cycleGatewayHubConnectionTask, cycleLockTask, cyclePoolAndRegionTask, cyclePoolTask, cycleRegisterInterestRegexTask, destroy, destroyData, destroyDataTask, disconnectTask, doGC, dumpHeapTask, endTx, executeBatchTerminator, executeTaskTerminator, executeTerminator, executeWarmupTerminator, get, getAllDataTask, getCache, getCount, getCurrentKey, getCurrentNumPseudoRandomKeys, getCurrentSequenceNumber, getData, getDataComparisonTask, getDataTask, getExtraDataTask, getHistogram, getKeyCount, getKeyGenerator, getKeyType, getLastTaskTerminatorTime, getLastWarmupTerminatorTime, getMethod, getNextKey, getNumPseudoRandomKeys, getRecentKey, getRecentKeyDataTask, getResultString, getRNG, getStartingSequenceNumber, getStartTime, getStatistics, getTask, getTrimInterval, getTrimIntervals, getTxMgr, getWarmedUp, getWarmUpCount, getWarmUpTime, indexData, indexDataTask, initBatchVariables, initGatewayReceiverTask, initGatewaySenderTask, initHydraThreadLocals, initialize, initialize, initLocalParameters, initLocalVariables, jid, log, mixCreateGetDataTask, mixPutGetDataTask, nameFor, numThreads, numWanSites, openCacheTask, openStatisticsTask, processNullValue, put, putAllDataTask, putAllEntryMapTask, putDataAndSyncTask, putDataComparisonTask, putDataGatewayTask, putDataGWSenderTask, putDataTask, putExtraDataTask, query, queryData, queryDataTask, queryRangeRegion, queryRangeRegionData, queryRangeRegionDataTask, queryRegion, queryRegionData, queryRegionDataTask, readyForEventsTask, rebalance, rebalanceTask, registerInterest, registerInterest, registerInterestRegexAllTask, registerInterestRegexTask, registerInterestTask, reportExtendedTrimIntervalsTask, reportTrimIntervalsTask, resetHydraThreadLocals, resetPseudoRandomUniqueKeysTask, restartDataHostTask, restartLocatorTask, restartTask, setCache, setCount, setCurrentKey, setCurrentNumPseudoRandomKeys, setCurrentSequenceNumber, setHistogram, setKeyCount, setKeyType, setLastTaskTerminatorTime, setLastWarmupTerminatorTime, setNumPseudoRandomKeys, setStartingSequenceNumber, setStartTime, setStatistics, setTxMgr, setWarmedUp, setWarmUpCount, setWarmUpTime, shutDownDataHostTask, signalTask, sleepTask, sleepTaskWithTrim, startGatewayHubTask, startJProbeTask, statArchiverTask, stopGatewayHubTask, stopGatewayReceiverTask, stopGatewaySenderTask, stopJProbeTask, stopOtherVMs, sttgid, sync, tc, terminateBatch, terminateTask, terminateWarmup, tgid, tid, timedOpenAccessorCacheTask, timedOpenCacheTask, timedOpenDataStoreCacheTask, timeToExecuteBatchTerminator, timeToExecuteTaskTerminator, timeToExecuteWarmupTerminator, ttgid, updateDataTask, updateHydraThreadLocals, validate, validateExpectedMembersTask, validateMaxKeysRegionEntriesTaskpublic static void preloadResourceTask()
throws IOException
PreloadPrms.resourceFile.IOExceptionpublic static void cycleConnectionOnceTask()
throws com.gemstone.gemfire.cache.CacheException
Set ConnectionPrms.createCacheAndRegion true to create a cache
and region once connected. Set ConnectionPrms.useCacheXml true
to create the cache and region using generated XML instead of APIs.
Set ConnectionPrms.bounceVm true to bounce the VM after disconnect.
Set ConnectionPrms.logTimes true to log info-level messages with
the duration of various operations.
Set ConnectionPrms.deleteSystemFiles true to delete the system
files, and directory if the VM is being bounced, for each connection cycle,
to prevent I-node depletion.
Sidesteps the distcache framework and goes to great pains to avoid logging
overhead through minimal use of helper classes. Cannot be used with most
task methods in CachePerfClient.
Writes statistics values for TaskSyncBlackboard.ops
and TaskSyncBlackboard.opTime needed by a separate VM
running the CachePerfClient.statArchiverTask(). This is
necessary since the statarchiver for the VM executing this task does not
live long enough to record stats.
com.gemstone.gemfire.cache.CacheExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.