org.quartz.core
Class SchedulingContext

java.lang.Object
  extended by org.quartz.core.SchedulingContext
All Implemented Interfaces:
java.io.Serializable

public class SchedulingContext
extends java.lang.Object
implements java.io.Serializable

An object used to pass information about the 'client' to the QuartzScheduler.

Author:
James House
See Also:
QuartzScheduler, Serialized Form

Constructor Summary
SchedulingContext()
           Construct a SchedulingContext with default values.
SchedulingContext(java.lang.String instanceId)
           Construct a SchedulingContext with the given instanceId.
 
Method Summary
 java.lang.String getInstanceId()
           get the instanceId in the cluster.
 void setInstanceId(java.lang.String instanceId)
           Set the instanceId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchedulingContext

public SchedulingContext()

Construct a SchedulingContext with default values.


SchedulingContext

public SchedulingContext(java.lang.String instanceId)

Construct a SchedulingContext with the given instanceId.

Method Detail

getInstanceId

public java.lang.String getInstanceId()

get the instanceId in the cluster.


setInstanceId

public void setInstanceId(java.lang.String instanceId)

Set the instanceId.



Copyright 2001-2019, Terracotta, Inc.