Package com.spotify.styx.api
Class StatusResource
- java.lang.Object
-
- com.spotify.styx.api.StatusResource
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class StatusResource extends java.lang.Object implements java.io.CloseableAPI 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 voidclose()java.util.stream.Stream<com.spotify.apollo.route.Route<com.spotify.apollo.route.AsyncHandler<com.spotify.apollo.Response<okio.ByteString>>>>routes()
-
-
-
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:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-