setLockTimeout

Determines how long a vault remains unlocked.

Determines how many seconds a vault remains unlocked before it automatically locks. The default value, 0, indicates that the lock never times out.

Syntax

public void setLockTimeout(int timeout)

Parameters

Examples

  • Set the Lock Timeout – Sets the lock timeout to 1 hour.
    vault.setLockTimeout( 3600 );