protected static class ClientAuthorizationTestCase.OpFlags
extends java.lang.Object
doOp
function.Modifier and Type | Field and Description |
---|---|
static int |
CHECK_EXCEPTION
Check that the operation should throw an exception other than the
NotAuthorizedException . |
static int |
CHECK_FAIL
Check that the operation should fail.
|
static int |
CHECK_NOKEY
Check that the key for the operation should not be present.
|
static int |
CHECK_NOREGION
Check that the region should not be available.
|
static int |
CHECK_NOTAUTHZ
Check that the operation should throw
NotAuthorizedException . |
static int |
ENABLE_DRF
Enable
DynamicRegionFactory on the client. |
static int |
LOCAL_OP
Perform the local version of the operation.
|
static int |
NO_CREATE_SUBREGION
Do not try to create the sub-region.
|
static int |
NONE
Default behaviour.
|
static int |
REGISTER_POLICY_NONE
Use the
InterestResultPolicy.NONE for register interest. |
static int |
USE_ALL_KEYS
Register all KEYS.
|
static int |
USE_GET_ENTRY_IN_TX
Use the
LocalRegion.getEntry(java.lang.Object) under transaction. |
static int |
USE_LIST
Register a list of KEYS.
|
static int |
USE_NEWVAL
Check for nvalues[] instead of values[].
|
static int |
USE_NOTAUTHZ
Do the connection with unauthorized credentials but do not check that the operation throws
NotAuthorizedException . |
static int |
USE_OLDCONN
Do not re-connect using new credentials rather use the previous connection.
|
static int |
USE_REGEX
Register a regular expression.
|
static int |
USE_SUBREGION
Use the sub-region for performing the operation.
|
Modifier | Constructor and Description |
---|---|
protected |
OpFlags() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
description(int f) |
public static final int NONE
public static final int CHECK_FAIL
public static final int CHECK_NOTAUTHZ
NotAuthorizedException
.public static final int CHECK_NOREGION
public static final int CHECK_EXCEPTION
NotAuthorizedException
.public static final int USE_NEWVAL
public static final int USE_ALL_KEYS
public static final int USE_REGEX
public static final int USE_LIST
public static final int LOCAL_OP
public static final int CHECK_NOKEY
public static final int USE_SUBREGION
public static final int NO_CREATE_SUBREGION
public static final int USE_OLDCONN
public static final int USE_NOTAUTHZ
NotAuthorizedException
.public static final int ENABLE_DRF
DynamicRegionFactory
on the client.public static final int REGISTER_POLICY_NONE
InterestResultPolicy.NONE
for register interest.public static final int USE_GET_ENTRY_IN_TX
LocalRegion.getEntry(java.lang.Object)
under transaction.