java.lang.Object |
↳ |
com.atlassian.bitbucket.scm.SimpleCommand<T> |
Class Overview
Implementation of the Command interface that provides empty implementations for all methods
except call()
.
Summary
Public Methods |
@Nonnull
AsyncCommand<T>
|
asynchronous()
|
void
|
setExecutionTimeout(long timeoutInSecs)
Throws an UnsupportedOperationException to indicate that an execution timeout cannot be configured.
|
void
|
setIdleTimeout(long timeoutInSecs)
Throws an UnsupportedOperationException to indicate that an idle timeout cannot be configured.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.atlassian.bitbucket.scm.Command
@Nonnull
AsyncCommand<T>
|
asynchronous()
|
@Nullable
T
|
call()
|
void
|
setExecutionTimeout(long arg0)
|
void
|
setExecutionTimeout(Duration arg0)
|
void
|
setIdleTimeout(long arg0)
|
void
|
setIdleTimeout(Duration arg0)
|
void
|
setTimeout(Duration arg0)
|
void
|
setTimeout(long arg0)
|
|
From interface
java.util.concurrent.Callable
|
Public Constructors
Public Methods
public
void
setExecutionTimeout
(long timeoutInSecs)
Throws an UnsupportedOperationException
to indicate that an execution timeout cannot be configured.
Parameters
timeoutInSecs
| the maximum time the operation is allowed to run, in seconds |
Throws
UnsupportedOperationException
| if invoked
|
public
void
setIdleTimeout
(long timeoutInSecs)
Throws an UnsupportedOperationException
to indicate that an idle timeout cannot be configured.
Parameters
timeoutInSecs
| the maximum time the operation is allowed to be idle, in seconds |
Throws
UnsupportedOperationException
| if invoked
|