Package com.linecorp.armeria.xds
Class ClusterSnapshot
java.lang.Object
com.linecorp.armeria.xds.ClusterSnapshot
- All Implemented Interfaces:
Snapshot<ClusterXdsResource>
@UnstableApi
public final class ClusterSnapshot
extends Object
implements Snapshot<ClusterXdsResource>
A snapshot of a
Cluster
resource.-
Method Summary
Modifier and TypeMethodDescriptionAEndpointSnapshot
which belong to thisCluster
.boolean
int
hashCode()
@Nullable io.envoyproxy.envoy.config.route.v3.Route
route()
TheRoute
thisCluster
belongs to.toString()
@Nullable io.envoyproxy.envoy.config.route.v3.VirtualHost
TheVirtualHost
thisCluster
belongs to.Returns theXdsResource
of the current snapshot.
-
Method Details
-
xdsResource
Description copied from interface:Snapshot
Returns theXdsResource
of the current snapshot.- Specified by:
xdsResource
in interfaceSnapshot<ClusterXdsResource>
-
endpointSnapshot
AEndpointSnapshot
which belong to thisCluster
. -
virtualHost
TheVirtualHost
thisCluster
belongs to. -
route
TheRoute
thisCluster
belongs to. -
equals
-
hashCode
public int hashCode() -
toString
-