|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InterruptEvent
An object that encapsulates the following information:
NOTE: If any of the methods of this interface are called after the main(...) method exits,
the client or service process may behave in an undefined manner (for example,
hang or terminate abnormally).
Get the last InterruptEvent from the ServiceContext
.
ServiceContext.getLastInterruptEvent()
Field Summary | |
---|---|
static int |
NONE
Event code indicating that no interrupt event has occurred. |
static int |
SESSION_KILLED
Deprecated. As of Symphony 4.0, replaced by TASK_KILLED |
static int |
SESSION_SUSPENDED
Deprecated. As of Symphony 4.0, replaced by TASK_SUSPENDED |
static int |
TASK_KILLED
Event code indicating that the service will be interrupted because the task is being killed. |
static int |
TASK_SUSPENDED
Event code indicating that the service will be interrupted because the task is being suspended. |
Method Summary | |
---|---|
int |
getInterruptEventCode()
Returns the interrupt event code. |
long |
getInterruptGracePeriod()
Returns the interrupt grace period, in milliseconds. |
Field Detail |
---|
static final int NONE
static final int SESSION_KILLED
TASK_KILLED
Task
is being killed.
static final int SESSION_SUSPENDED
TASK_SUSPENDED
Task
is being suspended.
static final int TASK_KILLED
static final int TASK_SUSPENDED
Method Detail |
---|
int getInterruptEventCode()
InterruptEvent.NONE
InterruptEvent.TASK_KILLED
InterruptEvent.TASK_SUSPENDED
long getInterruptGracePeriod()
|
Version 5.1 Date Modified: -DREL_DATE=Apr 28 2011 Platform Computing. Accelerating Intelligence(TM). Copyright (C) 2001-2009 Platform Computing Corporation. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |