This class represents the options usable with the Kuzzle class.
It can be used with the following methods:
This class has a constructor and a constructor by copy.
Getters and setters #
The maximum amount of elements that the queue can contains. If set to -1, the size is unlimited.
public int getMaxQueueSize(); public KuzzleOptions setMaxQueueSize(int maxQueueSize)
The minimum duration of a Token before being automatically refreshed. If set to -1 the SDK does not refresh the token automatically.
public int getMinTokenDuration() public KuzzleOptions setMinTokenDuration(int minTokenDuration)
The minimum duration of a Token after refresh. If set to -1 the SDK does not refresh the token automatically.
public int getRefreshedTokenDuration() public KuzzleOptions setRefreshedTokenDuration(int refreshedTokenDuration)
The maximum delay between two requests to be replayed.
public int getMaxRequestDelay() public KuzzleOptions setMaxRequestDelay(int maxRequestDelay)
Automatically renew all subscriptions on a
public boolean isAutoResubscribe(); public KuzzleOptions setAutoResubscribe(boolean autoResubscribe);