Class GetRouterRegistrationsResponse
java.lang.Object
org.apache.hadoop.hdfs.server.federation.store.protocol.GetRouterRegistrationsResponse
- Direct Known Subclasses:
GetRouterRegistrationsResponsePBImpl
API response for retrieving a all non-expired router registrations present in
the state store.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<RouterState>abstract longabstract voidsetRouters(List<RouterState> routers) abstract voidsetTimestamp(long time)
-
Constructor Details
-
GetRouterRegistrationsResponse
public GetRouterRegistrationsResponse()
-
-
Method Details
-
newInstance
- Throws:
IOException
-
getRouters
- Throws:
IOException
-
setRouters
- Throws:
IOException
-
getTimestamp
@Public @Unstable public abstract long getTimestamp() -
setTimestamp
@Public @Unstable public abstract void setTimestamp(long time)
-