Class AliveAndReadyViewImpl

  • All Implemented Interfaces:
    com.sun.enterprise.ee.cms.core.AliveAndReadyView

    public class AliveAndReadyViewImpl
    extends java.lang.Object
    implements com.sun.enterprise.ee.cms.core.AliveAndReadyView
    • Constructor Detail

      • AliveAndReadyViewImpl

        public AliveAndReadyViewImpl​(java.util.SortedSet<java.lang.String> members,
                                     long viewId)
    • Method Detail

      • setSignal

        public void setSignal​(com.sun.enterprise.ee.cms.core.Signal signal)
        Terminates this view as being the current view.
        Parameters:
        signal - the signal
        Throws:
        java.lang.NullPointerException - if closeViewSignal is null.
      • getSignal

        public com.sun.enterprise.ee.cms.core.Signal getSignal()
        Specified by:
        getSignal in interface com.sun.enterprise.ee.cms.core.AliveAndReadyView
        Returns:
        signal that caused transition to this view.
      • getMembers

        public java.util.SortedSet<java.lang.String> getMembers()
        Specified by:
        getMembers in interface com.sun.enterprise.ee.cms.core.AliveAndReadyView
        Returns:
        an unmodifiable list of members who were alive and ready.
      • getSignalTime

        public long getSignalTime()
        Specified by:
        getSignalTime in interface com.sun.enterprise.ee.cms.core.AliveAndReadyView
        Returns:
        time that this signal notification first occurred.
      • getViewId

        public long getViewId()
        Specified by:
        getViewId in interface com.sun.enterprise.ee.cms.core.AliveAndReadyView
      • getViewCreationTime

        public long getViewCreationTime()
        Specified by:
        getViewCreationTime in interface com.sun.enterprise.ee.cms.core.AliveAndReadyView
      • getViewDuration

        public long getViewDuration()
        Specified by:
        getViewDuration in interface com.sun.enterprise.ee.cms.core.AliveAndReadyView
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object