Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
AuthenticationTokenKeyManager(AuthenticationTokenSecretManager mgr,
ZooAuthenticationKeyDistributor dist,
long keyUpdateInterval,
long tokenMaxLifetime)
Construct the key manager which will generate new AuthenticationKeys to generate and verify delegation tokens
|
Modifier and Type | Method and Description |
---|---|
void |
gracefulStop() |
boolean |
isInitialized() |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public AuthenticationTokenKeyManager(AuthenticationTokenSecretManager mgr, ZooAuthenticationKeyDistributor dist, long keyUpdateInterval, long tokenMaxLifetime)
mgr
- The SecretManager in usedist
- The implementation to distribute AuthenticationKeys to ZooKeeperkeyUpdateInterval
- The frequency, in milliseconds, that new AuthenticationKeys are createdtokenMaxLifetime
- The lifetime, in milliseconds, of generated AuthenticationKeys (and subsequently delegation tokens).Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.