com.sun.sgs.management
Interface TaskServiceMXBean

All Known Implementing Classes:
TaskServiceStats

public interface TaskServiceMXBean

The management interface for the task service.

An instance implementing this MBean can be obtained from the from the getPlatformMBeanServer method.

The ObjectName for uniquely identifying this MBean is "com.sun.sgs.service:type=TaskService".


Field Summary
static String MXBEAN_NAME
          The name for uniquely identifying this MBean.
 
Method Summary
 long getScheduleDelayedTaskCalls()
          Returns the number of times scheduleTask has been called with a delay.
 long getScheduleNonDurableTaskCalls()
          Returns the number of times scheduleNonDurableTask has been called.
 long getScheduleNonDurableTaskDelayedCalls()
          Returns the number of times scheduleNonDurableTask has been called with a delay.
 long getSchedulePeriodicTaskCalls()
          Returns the number of times schedulePeriodicTask has been called.
 long getScheduleTaskCalls()
          Returns the number of times scheduleTask has been called.
 

Field Detail

MXBEAN_NAME

static final String MXBEAN_NAME
The name for uniquely identifying this MBean.

See Also:
Constant Field Values
Method Detail

getScheduleNonDurableTaskCalls

long getScheduleNonDurableTaskCalls()
Returns the number of times scheduleNonDurableTask has been called.

Returns:
the number of times scheduleNonDurableTask has been called

getScheduleNonDurableTaskDelayedCalls

long getScheduleNonDurableTaskDelayedCalls()
Returns the number of times scheduleNonDurableTask has been called with a delay.

Returns:
the number of times scheduleNonDurableTask has been called with a delay

getScheduleTaskCalls

long getScheduleTaskCalls()
Returns the number of times scheduleTask has been called.

Returns:
the number of times scheduleTask has been called

getScheduleDelayedTaskCalls

long getScheduleDelayedTaskCalls()
Returns the number of times scheduleTask has been called with a delay.

Returns:
the number of times scheduleTask has been called with a delay.

getSchedulePeriodicTaskCalls

long getSchedulePeriodicTaskCalls()
Returns the number of times schedulePeriodicTask has been called.

Returns:
the number of times schedulPeriodicTask has been called

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved