Tm1Timeouts.TimeoutsBuilder
using Skipcheck.Tm1.Client.Session; Builds Tm1Timeouts. Written by hand rather than with Lombok's
@Builder, so its methods can carry Javadoc.
Members
Connect | Sets how long to wait for a connection, including TLS. |
Login | Sets how long to wait for a login response. |
Request | Sets how long a request may go without receiving any data. |
Close | Sets how long to wait for TM1 to close the session. |
RefusedLogin | Sets how long requests fail at once after TM1 refused a login; zero to log in again straight away. |
Build | The timeouts, with unset values at their defaults. |
Connect
TimeoutsBuilder Connect(TimeSpan value)Sets how long to wait for a connection, including TLS.
Login
TimeoutsBuilder Login(TimeSpan value)Sets how long to wait for a login response.
Request
TimeoutsBuilder Request(TimeSpan value)Sets how long a request may go without receiving any data.
Close
TimeoutsBuilder Close(TimeSpan value)Sets how long to wait for TM1 to close the session.
RefusedLogin
TimeoutsBuilder RefusedLogin(TimeSpan value)Sets how long requests fail at once after TM1 refused a login; zero to log in again straight away.
Build
Tm1Timeouts Build()The timeouts, with unset values at their defaults.
Throws
ArgumentException- A timeout is zero or negative.