public class EndTaskValidator extends Validator
| Modifier and Type | Field and Description |
|---|---|
protected long |
creationKeySetSize |
protected long |
endKeySetSize |
protected com.gemstone.gemfire.cache.CacheListener |
listener |
protected long |
numAfterCreateEventsForListener |
protected long |
numAfterCreateEventsForOtherListeners |
protected boolean |
validateNegativeNameCounter |
protected boolean |
validatePositiveNameCounter |
ALWAYS, blackboard, BOTH, containsKeyCategory, containsValueForKeyCategory, doGetStrategy, DONT_CHECK, IF_HAS_VALUE, maxNumberToValidate, NEGATIVE, NEVER, NONE, POSITIVE, SOMETIMES, stableKeys, throwOnFirstError, timeLimitMS, VALIDATE_ALL, valueShouldBeNull, waitForContainsKey, waitForContainsValueForKey| Constructor and Description |
|---|
EndTaskValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
checkCountersInBB(Blackboard bb,
long expectedAfterCreateCount,
boolean isOriginRemote) |
String |
endTaskValidate()
Do the end task validation according to the set parameters.
|
void |
setCreationKeySetSize(int creationKeySetSize)
Set creationKeySetSize.
|
void |
setEndKeySetSize(int endKeySetSize)
Set endKeySetSize.
|
void |
setListener(com.gemstone.gemfire.cache.CacheListener listener)
Set listener.
|
void |
setNumAfterCreateEventsForListener(int numAfterCreateEventsForListener)
Set numAfterCreateEventsForListener.
|
void |
setNumAfterCreateEventsForOtherListeners(int numAfterCreateEventsForOtherListeners)
Set numAfterCreateEventsForOtherListeners.
|
void |
setValidateNegativeNameCounter(boolean validateNegativeNameCounter)
Set validateNegativeCounter.
|
void |
setValidatePositiveNameCounter(boolean validatePositiveNameCounter)
Set validatePositiveCounter.
|
logMessage, setBlackboard, setContainsKeyCategory, setContainsValueForKeyCategory, setDoGetStrategy, setMaxNumberToValidate, setStableKeys, setThrowOnFirstError, setTimeLimitMS, setValueShouldBeNull, setWaitForContainsKey, setWaitForContainsValueForKey, toString, validateRegionContentsprotected com.gemstone.gemfire.cache.CacheListener listener
protected long numAfterCreateEventsForListener
protected long numAfterCreateEventsForOtherListeners
protected long creationKeySetSize
protected long endKeySetSize
protected boolean validatePositiveNameCounter
protected boolean validateNegativeNameCounter
public void setListener(com.gemstone.gemfire.cache.CacheListener listener)
public void setNumAfterCreateEventsForOtherListeners(int numAfterCreateEventsForOtherListeners)
public void setNumAfterCreateEventsForListener(int numAfterCreateEventsForListener)
public void setCreationKeySetSize(int creationKeySetSize)
public void setEndKeySetSize(int endKeySetSize)
public void setValidatePositiveNameCounter(boolean validatePositiveNameCounter)
public void setValidateNegativeNameCounter(boolean validateNegativeNameCounter)
public String endTaskValidate()
protected static String checkCountersInBB(Blackboard bb, long expectedAfterCreateCount, boolean isOriginRemote)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.