Class LookupDataAdapterRefreshService.Listener

java.lang.Object
com.google.common.util.concurrent.Service.Listener
org.graylog2.lookup.LookupDataAdapterRefreshService.Listener
Enclosing class:
LookupDataAdapterRefreshService

public static class LookupDataAdapterRefreshService.Listener extends com.google.common.util.concurrent.Service.Listener
This service listener should be attached to a data adapter service.

It takes care of adding and removing the data adapter to/from the refresh service when it is started or stopped.

  • Constructor Details

  • Method Details

    • running

      public void running()
      Overrides:
      running in class com.google.common.util.concurrent.Service.Listener
    • stopping

      public void stopping(com.google.common.util.concurrent.Service.State from)
      Overrides:
      stopping in class com.google.common.util.concurrent.Service.Listener