public class _JobHandleTie extends _JobHandleDisp implements Ice.TieBase
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
__ids
ice_staticId
Constructor and Description |
---|
_JobHandleTie(_JobHandleOperations delegate) |
_JobHandleTie() |
Modifier and Type | Method and Description |
---|---|
void |
activate_async(AMD_StatefulServiceInterface_activate __cb,
Ice.Current __current)
Load a service implementation from disk if it was previously
passivated.
|
void |
attach_async(AMD_JobHandle_attach __cb,
long jobId,
Ice.Current __current)
Returns the current
JobStatus for the
Job id. |
void |
cancelJob_async(AMD_JobHandle_cancelJob __cb,
Ice.Current __current)
Marks a job for cancellation.
|
void |
close_async(AMD_StatefulServiceInterface_close __cb,
Ice.Current __current)
Frees all resources -- passivated or active -- for the given
stateful service and removes its name from the object adapter.
|
boolean |
equals(java.lang.Object rhs) |
void |
getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb,
Ice.Current __current)
To free clients from tracking the mapping from session to stateful
service, each stateful service can returns its own context information.
|
void |
getJob_async(AMD_JobHandle_getJob __cb,
Ice.Current __current)
Returns the current
Job |
int |
hashCode() |
java.lang.Object |
ice_delegate() |
void |
ice_delegate(java.lang.Object delegate) |
void |
jobError_async(AMD_JobHandle_jobError __cb,
Ice.Current __current)
Returns
true if the Job
has thrown an error. |
void |
jobFinished_async(AMD_JobHandle_jobFinished __cb,
Ice.Current __current)
|
void |
jobMessage_async(AMD_JobHandle_jobMessage __cb,
Ice.Current __current)
Returns the current message for job.
|
void |
jobRunning_async(AMD_JobHandle_jobRunning __cb,
Ice.Current __current)
Returns
true if the Job is
running, i.e. |
void |
jobStatus_async(AMD_JobHandle_jobStatus __cb,
Ice.Current __current)
Returns the current
JobStatus . |
void |
passivate_async(AMD_StatefulServiceInterface_passivate __cb,
Ice.Current __current)
Causes the blitz server to store the service implementation to disk
to free memory.
|
void |
setMessage_async(AMD_JobHandle_setMessage __cb,
java.lang.String message,
Ice.Current __current)
Sets the job's message string, and returns the previous
value.
|
void |
setStatus_async(AMD_JobHandle_setStatus __cb,
java.lang.String status,
Ice.Current __current)
Updates the
JobStatus for the current
job. |
void |
setStatusAndMessage_async(AMD_JobHandle_setStatusAndMessage __cb,
java.lang.String status,
RString message,
Ice.Current __current)
Like
setStatus but also sets the message. |
void |
submit_async(AMD_JobHandle_submit __cb,
Job job,
Ice.Current __current)
Submits a
Job and returns its database
id. |
___attach, ___cancelJob, ___getJob, ___jobError, ___jobFinished, ___jobMessage, ___jobRunning, ___jobStatus, ___setMessage, ___setStatus, ___setStatusAndMessage, ___submit, __dispatch, __readImpl, __writeImpl, activate_async, attach_async, cancelJob_async, close_async, getCurrentEventContext_async, getJob_async, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, jobError_async, jobFinished_async, jobMessage_async, jobRunning_async, jobStatus_async, passivate_async, setMessage_async, setStatus_async, setStatusAndMessage_async, submit_async
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
public static final long serialVersionUID
public _JobHandleTie()
public _JobHandleTie(_JobHandleOperations delegate)
public java.lang.Object ice_delegate()
ice_delegate
in interface Ice.TieBase
public void ice_delegate(java.lang.Object delegate)
ice_delegate
in interface Ice.TieBase
public boolean equals(java.lang.Object rhs)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void attach_async(AMD_JobHandle_attach __cb, long jobId, Ice.Current __current) throws ServerError
_JobHandleOperations
JobStatus
for the
Job id.attach_async
in interface _JobHandleOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void cancelJob_async(AMD_JobHandle_cancelJob __cb, Ice.Current __current) throws ServerError
_JobHandleOperations
cancelJob_async
in interface _JobHandleOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getJob_async(AMD_JobHandle_getJob __cb, Ice.Current __current) throws ServerError
_JobHandleOperations
Job
getJob_async
in interface _JobHandleOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void jobError_async(AMD_JobHandle_jobError __cb, Ice.Current __current) throws ServerError
_JobHandleOperations
true
if the Job
has thrown an error.jobError_async
in interface _JobHandleOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void jobFinished_async(AMD_JobHandle_jobFinished __cb, Ice.Current __current) throws ServerError
_JobHandleOperations
jobFinished_async
in interface _JobHandleOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void jobMessage_async(AMD_JobHandle_jobMessage __cb, Ice.Current __current) throws ServerError
_JobHandleOperations
jobMessage_async
in interface _JobHandleOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void jobRunning_async(AMD_JobHandle_jobRunning __cb, Ice.Current __current) throws ServerError
_JobHandleOperations
true
if the Job
is
running, i.e. has an attached process.jobRunning_async
in interface _JobHandleOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void jobStatus_async(AMD_JobHandle_jobStatus __cb, Ice.Current __current) throws ServerError
_JobHandleOperations
JobStatus
. Will
never return null.jobStatus_async
in interface _JobHandleOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void setMessage_async(AMD_JobHandle_setMessage __cb, java.lang.String message, Ice.Current __current) throws ServerError
_JobHandleOperations
setMessage_async
in interface _JobHandleOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void setStatus_async(AMD_JobHandle_setStatus __cb, java.lang.String status, Ice.Current __current) throws ServerError
_JobHandleOperations
JobStatus
for the current
job. The previous status is returned as a string. If the
status is CANCELLED
, this method is equivalent to
cancelJob
.setStatus_async
in interface _JobHandleOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void setStatusAndMessage_async(AMD_JobHandle_setStatusAndMessage __cb, java.lang.String status, RString message, Ice.Current __current) throws ServerError
_JobHandleOperations
setStatus
but also sets the message.setStatusAndMessage_async
in interface _JobHandleOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void submit_async(AMD_JobHandle_submit __cb, Job job, Ice.Current __current) throws ServerError
_JobHandleOperations
Job
and returns its database
id. The only fields directly on status which are editable
are message, scheduledFor and
status. The latter two must be sensible.submit_async
in interface _JobHandleOperations
__cb
- The callback object for the operation.job
- Not null__current
- The Current object for the invocation.ServerError
public void activate_async(AMD_StatefulServiceInterface_activate __cb, Ice.Current __current) throws ServerError
_StatefulServiceInterfaceOperations
activate_async
in interface _StatefulServiceInterfaceOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void close_async(AMD_StatefulServiceInterface_close __cb, Ice.Current __current) throws ServerError
_StatefulServiceInterfaceOperations
close_async
in interface _StatefulServiceInterfaceOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb, Ice.Current __current) throws ServerError
_StatefulServiceInterfaceOperations
getCurrentEventContext_async
in interface _StatefulServiceInterfaceOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError
public void passivate_async(AMD_StatefulServiceInterface_passivate __cb, Ice.Current __current) throws ServerError
_StatefulServiceInterfaceOperations
passivate_async
in interface _StatefulServiceInterfaceOperations
__cb
- The callback object for the operation.__current
- The Current object for the invocation.ServerError