Class OScheduledEvent
java.lang.Object
com.orientechnologies.orient.core.type.ODocumentWrapper
com.orientechnologies.orient.core.schedule.OScheduledEvent
- All Implemented Interfaces:
Serializable
Represents an instance of a scheduled event.
- Since:
- Mar 28, 2013
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com), henryzhao81-at-gmail.com
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.orientechnologies.orient.core.type.ODocumentWrapper
document -
Constructor Summary
ConstructorsConstructorDescriptionOScheduledEvent(ODocument doc) Creates a scheduled event object from a configuration. -
Method Summary
Modifier and TypeMethodDescriptionvoidfromStream(ODocument iDocument) getName()longgetRule()voidbooleanschedule(String database, String user, OrientDBInternal orientDB) toString()
-
Field Details
-
CLASS_NAME
- See Also:
-
PROP_NAME
- See Also:
-
PROP_RULE
- See Also:
-
PROP_ARGUMENTS
- See Also:
-
PROP_STATUS
- See Also:
-
PROP_FUNC
- See Also:
-
PROP_STARTTIME
- See Also:
-
PROP_EXEC_ID
- See Also:
-
-
Constructor Details
-
OScheduledEvent
Creates a scheduled event object from a configuration.
-
-
Method Details
-
interrupt
public void interrupt() -
getFunction
-
getRule
-
getName
-
getNextExecutionId
public long getNextExecutionId() -
getStatus
-
getArguments
-
getStartTime
-
isRunning
public boolean isRunning() -
schedule
-
toString
- Overrides:
toStringin classODocumentWrapper
-
fromStream
- Overrides:
fromStreamin classODocumentWrapper
-