SDK
SDK Java v3.x
2

# 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.

Copied to clipboard!
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.

Copied to clipboard!
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.

Copied to clipboard!
public int getRefreshedTokenDuration()
public KuzzleOptions setRefreshedTokenDuration(int refreshedTokenDuration)

# maxRequestDelay

The maximum delay between two requests to be replayed.

Copied to clipboard!
public int getMaxRequestDelay()
public KuzzleOptions setMaxRequestDelay(int maxRequestDelay)

# autoResubscribe

Automatically renew all subscriptions on a reconnected event.

Copied to clipboard!
public boolean isAutoResubscribe();
public KuzzleOptions setAutoResubscribe(boolean autoResubscribe);