public abstract class InvokeOptions extends java.lang.Object implements SpaceOptions<InvokeOptions>
Space
:
Space.invoke(Tuple, InvokeOptions)
Space.invokeLeeches(InvokeOptions)
Space.invokeMember(Member, InvokeOptions)
Space.invokeMembers(Collection, InvokeOptions)
Space.invokeMembers(InvokeOptions)
Space.invokeRemoteMembers(InvokeOptions)
Space.invokeSeeders(InvokeOptions)
create()
.Constructor and Description |
---|
InvokeOptions() |
Modifier and Type | Method and Description |
---|---|
static InvokeOptions |
create()
Create default invoke options
|
abstract Tuple |
getContext()
Returns context tuple passed in
|
abstract java.lang.String |
getInvocable()
Deprecated.
|
abstract long |
getTimeout()
Timeout for invoke operation.
|
abstract InvokeOptions |
setContext(Tuple context) |
abstract InvokeOptions |
setInvocable(java.lang.String invocable)
Deprecated.
|
abstract InvokeOptions |
setTimeout(long timeout)
Set timeout for invoke operation
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClosure, getResultHandler, setClosure, setResultHandler
public static InvokeOptions create()
public abstract long getTimeout()
public abstract InvokeOptions setTimeout(long timeout)
timeout
- timeout in millisecondspublic abstract InvokeOptions setInvocable(java.lang.String invocable)
invocable
- The class that implements the Invocable
interface.public abstract InvokeOptions setContext(Tuple context)
context
- Tuple which can be used to pass extra arguments or data to the invoke
method of the Invocable
interface.public abstract java.lang.String getInvocable()
public abstract Tuple getContext()
Copyright (c) 2014 Cloud Software Group, Inc. All rights reserved.