Class CachingRlsLbClient.CachedRouteLookupResponse
java.lang.Object
io.grpc.rls.CachingRlsLbClient.CachedRouteLookupResponse
- Enclosing class:
CachingRlsLbClient
Viewer class for cached
RlsProtoData.RouteLookupResponse and associated LbPolicyConfiguration.ChildPolicyWrapper.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CachingRlsLbClient.BackoffCacheEntryprivate final CachingRlsLbClient.DataCacheEntryprivate final CachingRlsLbClient.PendingCacheEntry -
Constructor Summary
ConstructorsConstructorDescriptionCachedRouteLookupResponse(CachingRlsLbClient.DataCacheEntry dataCacheEntry, CachingRlsLbClient.PendingCacheEntry pendingCacheEntry, CachingRlsLbClient.BackoffCacheEntry backoffCacheEntry) -
Method Summary
Modifier and TypeMethodDescription(package private) static CachingRlsLbClient.CachedRouteLookupResponsebackoffEntry(CachingRlsLbClient.BackoffCacheEntry backoffEntry) (package private) static CachingRlsLbClient.CachedRouteLookupResponsedataEntry(CachingRlsLbClient.DataCacheEntry dataEntry) (package private) LbPolicyConfiguration.ChildPolicyWrapper(package private) LbPolicyConfiguration.ChildPolicyWrappergetChildPolicyWrapper(String target) (package private) String(package private) Status(package private) booleanhasData()(package private) booleanhasError()(package private) boolean(package private) static CachingRlsLbClient.CachedRouteLookupResponsependingResponse(CachingRlsLbClient.PendingCacheEntry pendingEntry) toString()
-
Field Details
-
dataCacheEntry
-
pendingCacheEntry
-
backoffCacheEntry
-
-
Constructor Details
-
CachedRouteLookupResponse
CachedRouteLookupResponse(CachingRlsLbClient.DataCacheEntry dataCacheEntry, CachingRlsLbClient.PendingCacheEntry pendingCacheEntry, CachingRlsLbClient.BackoffCacheEntry backoffCacheEntry)
-
-
Method Details
-
pendingResponse
static CachingRlsLbClient.CachedRouteLookupResponse pendingResponse(CachingRlsLbClient.PendingCacheEntry pendingEntry) -
backoffEntry
static CachingRlsLbClient.CachedRouteLookupResponse backoffEntry(CachingRlsLbClient.BackoffCacheEntry backoffEntry) -
dataEntry
static CachingRlsLbClient.CachedRouteLookupResponse dataEntry(CachingRlsLbClient.DataCacheEntry dataEntry) -
hasData
boolean hasData() -
getChildPolicyWrapper
-
getChildPolicyWrapper
-
getHeaderData
-
hasError
boolean hasError() -
isPending
boolean isPending() -
getStatus
-
toString
-