Class ServiceContainer.TerminateListener.Info

  • Enclosing interface:
    ServiceContainer.TerminateListener

    public static final class ServiceContainer.TerminateListener.Info
    extends java.lang.Object
    Container shutdown information.
    • Constructor Summary

      Constructors 
      Constructor Description
      Info​(long shutdownInitiated, long shutdownCompleted)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Field Detail

      • shutdownInitiated

        private final long shutdownInitiated
      • shutdownCompleted

        private final long shutdownCompleted
    • Constructor Detail

      • Info

        Info​(long shutdownInitiated,
             long shutdownCompleted)
    • 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