public class TensorFlowClusterGateway extends Object implements IgniteBiPredicate<UUID,Optional<TensorFlowCluster>>, AutoCloseable
| Constructor and Description |
|---|
TensorFlowClusterGateway(SerializableConsumer<TensorFlowClusterGateway> unsubscribeCb)
Constructs a new instance of TensorFlow cluster gateway.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(UUID uuid,
Optional<TensorFlowCluster> cluster) |
void |
close() |
void |
subscribe(Consumer<Optional<TensorFlowCluster>> subscriber)
Subscribers the specified subscriber on the upstream events.
|
void |
unsubscribe(Consumer<Optional<TensorFlowCluster>> subscriber)
Unsubscribe the specified subscriber.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandpublic TensorFlowClusterGateway(SerializableConsumer<TensorFlowClusterGateway> unsubscribeCb)
unsubscribeCb - Callback that will be called on unsubscribe.public void subscribe(Consumer<Optional<TensorFlowCluster>> subscriber)
subscriber - Subscriber.public void unsubscribe(Consumer<Optional<TensorFlowCluster>> subscriber)
subscriber - Subscriber.public boolean apply(UUID uuid, Optional<TensorFlowCluster> cluster)
apply in interface IgniteBiPredicate<UUID,Optional<TensorFlowCluster>>public void close()
close in interface AutoCloseable
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.14-p2 Release Date : January 19 2026