public abstract class PoolMockObjects extends MockObjectsSupport
PoolMockObjects class is a mock objects class allowing users to manually mock Apache Geode
or Pivotal GemFire client Pool objects and related objects in the org.apache.geode.cache.client
package.Pool,
Mockito,
MockObjectsSupport| Constructor and Description |
|---|
PoolMockObjects() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.geode.cache.client.Pool |
mockPool(java.lang.String name,
boolean initialDestroyedState,
int freeConnectionTimeout,
long idleTimeout,
int loadConditioningInterval,
java.util.List<java.net.InetSocketAddress> locators,
int maxConnections,
int minConnections,
boolean multiUserAuthentication,
java.util.List<java.net.InetSocketAddress> onlineLocators,
int pendingEventCount,
long pingInterval,
boolean prSingleHopEnabled,
org.apache.geode.cache.query.QueryService queryService,
int readTimeout,
int retryAttempts,
java.lang.String serverGroup,
java.util.List<java.net.InetSocketAddress> servers,
int socketBufferSize,
int socketConnectTimeout,
int statisticInterval,
int subscriptionAckInterval,
boolean subscriptionEnabled,
int subscriptionMessageTrackingTimeout,
int subscriptionRedundancy,
int subscriptionTimeoutMultiplier,
boolean threadLocalConnections) |
mockObjectIdentifier, mockObjectIdentifier, newAdder, newGetter, newGetter, newGetter, newGetter, newGetter, newGetter, newGetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetter, newSetterWithArgument, newSetterWithArument, newVoidAnswerpublic static org.apache.geode.cache.client.Pool mockPool(java.lang.String name,
boolean initialDestroyedState,
int freeConnectionTimeout,
long idleTimeout,
int loadConditioningInterval,
java.util.List<java.net.InetSocketAddress> locators,
int maxConnections,
int minConnections,
boolean multiUserAuthentication,
java.util.List<java.net.InetSocketAddress> onlineLocators,
int pendingEventCount,
long pingInterval,
boolean prSingleHopEnabled,
org.apache.geode.cache.query.QueryService queryService,
int readTimeout,
int retryAttempts,
java.lang.String serverGroup,
java.util.List<java.net.InetSocketAddress> servers,
int socketBufferSize,
int socketConnectTimeout,
int statisticInterval,
int subscriptionAckInterval,
boolean subscriptionEnabled,
int subscriptionMessageTrackingTimeout,
int subscriptionRedundancy,
int subscriptionTimeoutMultiplier,
boolean threadLocalConnections)