Package io.deephaven.envoysupport
Interface EnvoyDiscoverySupportService
- All Known Implementing Classes:
EnvoyDiscoverySupportServiceGrpcImpl
public interface EnvoyDiscoverySupportService
Service for notifying the Deephaven system that services are available.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetWorkerSnapshot(@NotNull String serviceId, @NotNull Collection<? extends WorkerStreamProvider.WorkerInfo> workersSnapshot) Notify the system that the collection of workers has changed for the given serviceId.
-
Method Details
-
setWorkerSnapshot
void setWorkerSnapshot(@NotNull @NotNull String serviceId, @NotNull @NotNull Collection<? extends WorkerStreamProvider.WorkerInfo> workersSnapshot) Notify the system that the collection of workers has changed for the given serviceId.- Parameters:
serviceId- an identifier for this collection of workersworkersSnapshot- the current complete collection of workers for the serviceId
-