Class StatusResource

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class StatusResource
    extends java.lang.Object
    implements java.io.Closeable
    API endpoints for the retrieving events and active states
    • Constructor Summary

      Constructors 
      Constructor Description
      StatusResource​(com.spotify.styx.storage.Storage storage, com.spotify.styx.api.ServiceAccountUsageAuthorizer accountUsageAuthorizer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.util.stream.Stream<com.spotify.apollo.route.Route<com.spotify.apollo.route.AsyncHandler<com.spotify.apollo.Response<okio.ByteString>>>> routes()  
      • Methods inherited from class java.lang.Object

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

      • StatusResource

        public StatusResource​(com.spotify.styx.storage.Storage storage,
                              com.spotify.styx.api.ServiceAccountUsageAuthorizer accountUsageAuthorizer)
    • Method Detail

      • routes

        public java.util.stream.Stream<com.spotify.apollo.route.Route<com.spotify.apollo.route.AsyncHandler<com.spotify.apollo.Response<okio.ByteString>>>> routes()
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException