JBoss Modular Service Kernel API 1.0.0.CR2

org.jboss.msc.service
Class ServiceContainer.TerminateListener.Info

java.lang.Object
  extended by org.jboss.msc.service.ServiceContainer.TerminateListener.Info
Enclosing interface:
ServiceContainer.TerminateListener

public static final class ServiceContainer.TerminateListener.Info
extends java.lang.Object

Container shutdown information.


Method Summary
 long getShutdownCompleted()
          Returns the time the shutdown process was completed, in nanoseconds.
 long getShutdownInitiated()
          Returns the time the shutdown process was initiated, in nanoseconds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getShutdownInitiated

public long getShutdownInitiated()
Returns the time the shutdown process was initiated, in nanoseconds.

Returns:
the shutdown initiated time

getShutdownCompleted

public long getShutdownCompleted()
Returns the time the shutdown process was completed, in nanoseconds.

Returns:
the shutdown completed time

JBoss Modular Service Kernel API 1.0.0.CR2

Copyright © 2011 JBoss, a division of Red Hat, Inc.