Interface Snapshot<T extends XdsResource>

All Known Implementing Classes:
ClusterSnapshot, EndpointSnapshot, ListenerSnapshot, RouteSnapshot
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@UnstableApi @FunctionalInterface public interface Snapshot<T extends XdsResource>
A snapshot of the resource.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the XdsResource of the current snapshot.
  • Method Details

    • xdsResource

      T xdsResource()
      Returns the XdsResource of the current snapshot.