public interface TAccessor extends TInvalidatableAccessor
Modifier and Type | Method and Description |
---|---|
void |
cancelRequests()
Cancels all requests issued using current accessor.
|
TAccessLocation |
getAccessLocation()
Returns a deep copy of the accessor's location.
|
java.lang.String |
getApplicationName()
Returns Client Application Name.
|
boolean |
getCanBeCancelled()
Returns true if request can be canceled.
|
TLockMode |
getLockMode()
Gets the lock mode.
|
TLockwaitMode |
getLockwaitMode()
Gets the current lockwait mode.
|
long |
getMaximumRequestDuration()
Gets the maximum request duration in seconds.
Note: This method retrieves the servers default value, when this duration has not been set to a specific value (unequal to TConnection.DEFAULT_TIMEOUT)! |
void |
setAccessLocation(TAccessLocation accessLocation)
Sets the accessor's location to be used by the accessor.
|
void |
setApplicationName(java.lang.String name)
Sets Client Application Name.
|
void |
setCanBeCancelled(boolean canBeCancelled)
Sets whether request can be canBeCancelled.
|
void |
setLockMode(TLockMode lockMode)
Sets the lock mode an acccess.
|
void |
setLockwaitMode(TLockwaitMode lockwaitMode)
Sets the lockwait mode for an acccess.
|
void |
setMaximumRequestDuration(long maximumRequestDuration)
Sets the maximum request duration in seconds.
|
invalidate
void setAccessLocation(TAccessLocation accessLocation)
accessLocation
- the TAccessLocation instance to be used by the accessor.TAccessLocation getAccessLocation()
void setLockwaitMode(TLockwaitMode lockwaitMode)
lockwaitMode
- the lockwait mode to be set, 'null' for Tamino default.TLockwaitMode getLockwaitMode()
void setLockMode(TLockMode lockMode)
lockMode
- the lock mode to be set, 'null' for Tamino default.TLockMode getLockMode()
void setMaximumRequestDuration(long maximumRequestDuration)
maximumRequestDuration
- the maximum request duration in seconds in seconds be set, TConnection.DEFAULT_TIMEOUT for Tamino default.long getMaximumRequestDuration()
void setCanBeCancelled(boolean canBeCancelled) throws TAdminException
TAdminException
boolean getCanBeCancelled()
void setApplicationName(java.lang.String name)
java.lang.String getApplicationName()
void cancelRequests() throws TAdminException
TAdminException
Copyright (c) 2017 Software AG. All Rights Reserved.