KuzzleOptions #
This class represents the options usable with the Kuzzle class.
It can be used with the following methods:
Constructor #
This class has a constructor and a constructor by copy.
Getters and setters #
queueMaxSize #
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)
minTokenDuration #
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)
refreshedTokenDuration #
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)
maxRequestDelay #
The maximum delay between two requests to be replayed.
public int getMaxRequestDelay()
public KuzzleOptions setMaxRequestDelay(int maxRequestDelay)
autoResubscribe #
Automatically renew all subscriptions on a reconnected
event.
public boolean isAutoResubscribe();
public KuzzleOptions setAutoResubscribe(boolean autoResubscribe);
Edit this page on Github(opens new window)