public abstract class _JobHandleDisp extends Ice.ObjectImpl implements JobHandle
NOTE: The calling order for the service is as follows:
submit
or attach
close
close
does not cancel or otherwise change
the Job state. See cancelJob
.Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
__ids |
static long |
serialVersionUID |
ice_staticId
Constructor and Description |
---|
_JobHandleDisp() |
Modifier and Type | Method and Description |
---|---|
static Ice.DispatchStatus |
___attach(JobHandle __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___cancelJob(JobHandle __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getJob(JobHandle __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___jobError(JobHandle __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___jobFinished(JobHandle __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___jobMessage(JobHandle __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___jobRunning(JobHandle __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___jobStatus(JobHandle __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setMessage(JobHandle __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setStatus(JobHandle __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___setStatusAndMessage(JobHandle __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___submit(JobHandle __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
Ice.DispatchStatus |
__dispatch(IceInternal.Incoming in,
Ice.Current __current) |
protected void |
__readImpl(IceInternal.BasicStream __is) |
protected void |
__writeImpl(IceInternal.BasicStream __os) |
void |
activate_async(AMD_StatefulServiceInterface_activate __cb)
Load a service implementation from disk if it was previously
passivated.
|
void |
attach_async(AMD_JobHandle_attach __cb,
long jobId)
Returns the current
JobStatus for the
Job id. |
void |
cancelJob_async(AMD_JobHandle_cancelJob __cb)
Marks a job for cancellation.
|
void |
close_async(AMD_StatefulServiceInterface_close __cb)
Frees all resources -- passivated or active -- for the given
stateful service and removes its name from the object adapter.
|
void |
getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb)
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)
Returns the current
Job |
protected void |
ice_copyStateFrom(Ice.Object __obj) |
java.lang.String |
ice_id() |
java.lang.String |
ice_id(Ice.Current __current) |
java.lang.String[] |
ice_ids() |
java.lang.String[] |
ice_ids(Ice.Current __current) |
boolean |
ice_isA(java.lang.String s) |
boolean |
ice_isA(java.lang.String s,
Ice.Current __current) |
static java.lang.String |
ice_staticId() |
void |
jobError_async(AMD_JobHandle_jobError __cb)
Returns
true if the Job
has thrown an error. |
void |
jobFinished_async(AMD_JobHandle_jobFinished __cb)
|
void |
jobMessage_async(AMD_JobHandle_jobMessage __cb)
Returns the current message for job.
|
void |
jobRunning_async(AMD_JobHandle_jobRunning __cb)
Returns
true if the Job is
running, i.e. |
void |
jobStatus_async(AMD_JobHandle_jobStatus __cb)
Returns the current
JobStatus . |
void |
passivate_async(AMD_StatefulServiceInterface_passivate __cb)
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)
Sets the job's message string, and returns the previous
value.
|
void |
setStatus_async(AMD_JobHandle_setStatus __cb,
java.lang.String status)
Updates the
JobStatus for the current
job. |
void |
setStatusAndMessage_async(AMD_JobHandle_setStatusAndMessage __cb,
java.lang.String status,
RString message)
Like
setStatus but also sets the message. |
void |
submit_async(AMD_JobHandle_submit __cb,
Job job)
Submits a
Job and returns its database
id. |
___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
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attach_async, cancelJob_async, getJob_async, jobError_async, jobFinished_async, jobMessage_async, jobRunning_async, jobStatus_async, setMessage_async, setStatus_async, setStatusAndMessage_async, submit_async
activate_async, close_async, getCurrentEventContext_async, passivate_async
public static final java.lang.String[] __ids
public static final long serialVersionUID
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public boolean ice_isA(java.lang.String s)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public boolean ice_isA(java.lang.String s, Ice.Current __current)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public java.lang.String[] ice_ids()
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String[] ice_ids(Ice.Current __current)
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String ice_id()
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public java.lang.String ice_id(Ice.Current __current)
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public static java.lang.String ice_staticId()
public final void attach_async(AMD_JobHandle_attach __cb, long jobId) throws ServerError
JobStatus
for the
Job id.attach_async
in interface _JobHandleOperationsNC
__cb
- The callback object for the operation.ServerError
public final void cancelJob_async(AMD_JobHandle_cancelJob __cb) throws ServerError
cancelJob_async
in interface _JobHandleOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getJob_async(AMD_JobHandle_getJob __cb) throws ServerError
Job
getJob_async
in interface _JobHandleOperationsNC
__cb
- The callback object for the operation.ServerError
public final void jobError_async(AMD_JobHandle_jobError __cb) throws ServerError
true
if the Job
has thrown an error.jobError_async
in interface _JobHandleOperationsNC
__cb
- The callback object for the operation.ServerError
public final void jobFinished_async(AMD_JobHandle_jobFinished __cb) throws ServerError
jobFinished_async
in interface _JobHandleOperationsNC
__cb
- The callback object for the operation.ServerError
public final void jobMessage_async(AMD_JobHandle_jobMessage __cb) throws ServerError
jobMessage_async
in interface _JobHandleOperationsNC
__cb
- The callback object for the operation.ServerError
public final void jobRunning_async(AMD_JobHandle_jobRunning __cb) throws ServerError
true
if the Job
is
running, i.e. has an attached process.jobRunning_async
in interface _JobHandleOperationsNC
__cb
- The callback object for the operation.ServerError
public final void jobStatus_async(AMD_JobHandle_jobStatus __cb) throws ServerError
JobStatus
. Will
never return null.jobStatus_async
in interface _JobHandleOperationsNC
__cb
- The callback object for the operation.ServerError
public final void setMessage_async(AMD_JobHandle_setMessage __cb, java.lang.String message) throws ServerError
setMessage_async
in interface _JobHandleOperationsNC
__cb
- The callback object for the operation.ServerError
public final void setStatus_async(AMD_JobHandle_setStatus __cb, java.lang.String status) throws ServerError
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 _JobHandleOperationsNC
__cb
- The callback object for the operation.ServerError
public final void setStatusAndMessage_async(AMD_JobHandle_setStatusAndMessage __cb, java.lang.String status, RString message) throws ServerError
setStatus
but also sets the message.setStatusAndMessage_async
in interface _JobHandleOperationsNC
__cb
- The callback object for the operation.ServerError
public final void submit_async(AMD_JobHandle_submit __cb, Job job) throws ServerError
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 _JobHandleOperationsNC
__cb
- The callback object for the operation.job
- Not nullServerError
public final void activate_async(AMD_StatefulServiceInterface_activate __cb) throws ServerError
activate_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final void close_async(AMD_StatefulServiceInterface_close __cb) throws ServerError
close_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final void getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb) throws ServerError
getCurrentEventContext_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public final void passivate_async(AMD_StatefulServiceInterface_passivate __cb) throws ServerError
passivate_async
in interface _StatefulServiceInterfaceOperationsNC
__cb
- The callback object for the operation.ServerError
public static Ice.DispatchStatus ___submit(JobHandle __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___attach(JobHandle __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getJob(JobHandle __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___jobStatus(JobHandle __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___jobFinished(JobHandle __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___jobMessage(JobHandle __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___jobRunning(JobHandle __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___jobError(JobHandle __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___cancelJob(JobHandle __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setStatus(JobHandle __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setMessage(JobHandle __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___setStatusAndMessage(JobHandle __obj, IceInternal.Incoming __inS, Ice.Current __current)
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
__dispatch
in interface Ice.Object
__dispatch
in class Ice.ObjectImpl
protected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl
in class Ice.ObjectImpl
protected void __readImpl(IceInternal.BasicStream __is)
__readImpl
in class Ice.ObjectImpl