Private constructor, use the create static method
the repository factory to call the rest servers.
the server epochAdjustment
the latest known server time to calculate the remote and local time difference.
The difference in milliseconds between the server and the local time. It used to create "server" deadline without asking for the server time every time a new deadline is created.
It creates a deadline using the local time. If the local system time is not in sync, the Deadline may be rejected by the server.
the deadline value
the unit of the value.
It creates a deadline using the known difference between the local and server time.
the deadline value
the unit of the value.
It creates a deadline by querying the current time to the server each time. This is the most accurate but less efficient way.
the deadline value
the unit of the value.
Factory method of this object.
the repository factory to call the rest servers.
Generated using TypeDoc
A factory service that allows the client to generate Deadline objects based on different strategies.
The main issue is that sometimes the local computer time is not in sync, the created deadlines may be too old or too in the future and rejected by the server.