jrun.jms.core.scheduler
Interface JMSScheduler

All Superinterfaces:
JMSSchedulerServiceMBean, java.io.Serializable, Service, ServiceMBean
All Known Implementing Classes:
JMSSchedulerService

public interface JMSScheduler
extends JMSSchedulerServiceMBean


Field Summary
static int ALL_TYPES
           
static int CHECK_FREE_MEMORY_EVENT
           
static int CONNECTION_GARBAGE_COLLECTION
           
static int EVENT_TYPE_COUNT
           
static int GARBAGE_COLLECTION
           
static int MESSAGE_DELIVERY
           
static int PERSISTENT_EVENT
           
static int SCHEDULABLE_EVENT
           
static int SCHEDULABLE_LEASE_EXPIRED
           
static int SCHEDULABLE_MESSAGE_LEASE_EXPIRED
           
 
Fields inherited from interface jrun.jms.core.scheduler.JMSSchedulerServiceMBean
DEFAULT_DURATION_TIME, DEFAULT_SLEEP_TIME
 
Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Method Summary
 SchedulableEvent createSchedulableEvent(java.lang.Object object, int type, long duration, SchedulableEventListener listener)
           
 int getSchedulableEventCount(int type)
           
 void removeSchedulableEvent(SchedulableEvent event)
           
 void rescheduleSchedulable(SchedulableEvent event, long duration)
           
 void updateCount(SchedulableEvent event)
           
 
Methods inherited from interface jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
destroy, getStatus, init, start, stop, updateStatus
 

Field Detail

ALL_TYPES

public static final int ALL_TYPES

SCHEDULABLE_EVENT

public static final int SCHEDULABLE_EVENT

SCHEDULABLE_LEASE_EXPIRED

public static final int SCHEDULABLE_LEASE_EXPIRED

GARBAGE_COLLECTION

public static final int GARBAGE_COLLECTION

SCHEDULABLE_MESSAGE_LEASE_EXPIRED

public static final int SCHEDULABLE_MESSAGE_LEASE_EXPIRED

MESSAGE_DELIVERY

public static final int MESSAGE_DELIVERY

EVENT_TYPE_COUNT

public static final int EVENT_TYPE_COUNT

PERSISTENT_EVENT

public static final int PERSISTENT_EVENT

CHECK_FREE_MEMORY_EVENT

public static final int CHECK_FREE_MEMORY_EVENT

CONNECTION_GARBAGE_COLLECTION

public static final int CONNECTION_GARBAGE_COLLECTION
Method Detail

createSchedulableEvent

public SchedulableEvent createSchedulableEvent(java.lang.Object object,
                                               int type,
                                               long duration,
                                               SchedulableEventListener listener)
                                        throws IllegalEventDefinedException

removeSchedulableEvent

public void removeSchedulableEvent(SchedulableEvent event)

rescheduleSchedulable

public void rescheduleSchedulable(SchedulableEvent event,
                                  long duration)

getSchedulableEventCount

public int getSchedulableEventCount(int type)

updateCount

public void updateCount(SchedulableEvent event)


Copyright � 2002 Macromedia Corporation. All Rights Reserved.