Class DiscoveryEvent

  • All Implemented Interfaces:
    EurekaEvent
    Direct Known Subclasses:
    CacheRefreshedEvent, StatusChangeEvent

    public abstract class DiscoveryEvent
    extends java.lang.Object
    implements EurekaEvent
    Class to be extended by all discovery events. Abstract as it doesn't make sense for generic events to be published directly.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DiscoveryEvent()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getTimestamp()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DiscoveryEvent

        protected DiscoveryEvent()
    • Method Detail

      • getTimestamp

        public final long getTimestamp()
        Returns:
        Return the system time in milliseconds when the event happened.