Package io.pravega.client.stream.impl
Class Pinger
- java.lang.Object
-
- io.pravega.client.stream.impl.Pinger
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class Pinger extends java.lang.Object implements java.lang.AutoCloseablePinger is used to send pings to renew the transaction lease for active transactions. It invokes io.pravega.client.control.impl.Controller#pingTransaction() on the controller to renew the lease of active transactions. Incase of a controller instance not being reachable the controller client takes care of retrying on a different controller instance see io.pravega.client.control.impl.ControllerResolverFactory for details.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()
-