Package io.grpc.rls
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.BackoffCacheEntry
private final CachingRlsLbClient.DataCacheEntry
private final CachingRlsLbClient.PendingCacheEntry
-
Constructor Summary
ConstructorsConstructorDescriptionCachedRouteLookupResponse
(CachingRlsLbClient.DataCacheEntry dataCacheEntry, CachingRlsLbClient.PendingCacheEntry pendingCacheEntry, CachingRlsLbClient.BackoffCacheEntry backoffCacheEntry) -
Method Summary
Modifier and TypeMethodDescription(package private) static CachingRlsLbClient.CachedRouteLookupResponse
backoffEntry
(CachingRlsLbClient.BackoffCacheEntry backoffEntry) (package private) static CachingRlsLbClient.CachedRouteLookupResponse
dataEntry
(CachingRlsLbClient.DataCacheEntry dataEntry) (package private) LbPolicyConfiguration.ChildPolicyWrapper
(package private) LbPolicyConfiguration.ChildPolicyWrapper
getChildPolicyWrapper
(String target) (package private) String
(package private) Status
(package private) boolean
hasData()
(package private) boolean
hasError()
(package private) boolean
(package private) static CachingRlsLbClient.CachedRouteLookupResponse
pendingResponse
(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
-