B C E G H I J L N O P R S T U V Z
B
- build(Config) - 类 中的方法com.github.haiger.crab.LockContext
-
- buildCurrentEngine() - 类 中的方法com.github.haiger.crab.LockContext
-
C
- close() - 类 中的方法com.github.haiger.crab.LeaderElect
-
- close() - 类 中的方法com.github.haiger.crab.ReentrantLock
-
- com.github.haiger.crab - 程序包 com.github.haiger.crab
-
- com.github.haiger.crab.conf - 程序包 com.github.haiger.crab.conf
-
- com.github.haiger.crab.engine - 程序包 com.github.haiger.crab.engine
-
- com.github.haiger.crab.engine.local - 程序包 com.github.haiger.crab.engine.local
-
- com.github.haiger.crab.engine.redis - 程序包 com.github.haiger.crab.engine.redis
-
- com.github.haiger.crab.engine.zookeeper - 程序包 com.github.haiger.crab.engine.zookeeper
-
- com.github.haiger.crab.util - 程序包 com.github.haiger.crab.util
-
- Config - com.github.haiger.crab.conf中的类
-
- CrabException - com.github.haiger.crab.util中的异常错误
-
- CrabException(String) - 异常错误 的构造器com.github.haiger.crab.util.CrabException
-
- createJedisPoolList(RedisConfig) - 类 中的静态方法com.github.haiger.crab.engine.redis.JedisPoolFactory
-
E
- equals(Object) - 类 中的方法com.github.haiger.crab.engine.redis.JedisPoolInfo
-
G
- get() - 类 中的静态方法com.github.haiger.crab.util.IdGenerator
-
- getConnectionTimeout() - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- getCurrentLockEngine() - 类 中的方法com.github.haiger.crab.LockContext
-
- getDatabase() - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- getEngine() - 类 中的方法com.github.haiger.crab.conf.Config
-
- getInstance() - 类 中的静态方法com.github.haiger.crab.conf.Config
-
- getInstance() - 类 中的静态方法com.github.haiger.crab.LockContext
-
- getIpAndPort() - 类 中的方法com.github.haiger.crab.engine.redis.JedisPoolInfo
-
- getJedisPool() - 类 中的方法com.github.haiger.crab.engine.redis.JedisPoolInfo
-
- getJedisPools() - 类 中的方法com.github.haiger.crab.LockContext
-
- getLeaderLockName() - 类 中的方法com.github.haiger.crab.LockContext
-
- getLeaderName() - 类 中的方法com.github.haiger.crab.conf.Config
-
- getLeaseTime() - 类 中的方法com.github.haiger.crab.conf.Config
-
- getLockEngine() - 类 中的方法com.github.haiger.crab.LockContext
-
- getLockLeaseTime() - 类 中的方法com.github.haiger.crab.LockContext
-
- getLockNamePrefix() - 类 中的方法com.github.haiger.crab.LockContext
-
- getLockNameSuffix() - 类 中的方法com.github.haiger.crab.LockContext
-
- getLockRenewExecutorCoreSize() - 类 中的方法com.github.haiger.crab.LockContext
-
- getLockRenewExecutorMaxSize() - 类 中的方法com.github.haiger.crab.LockContext
-
- getLockRenewExecutorQueueSize() - 类 中的方法com.github.haiger.crab.LockContext
-
- getLockRenewIntervalTime() - 类 中的方法com.github.haiger.crab.LockContext
-
- getMachineIp() - 类 中的方法com.github.haiger.crab.util.IdGenerator
-
- getNamePrefix() - 类 中的方法com.github.haiger.crab.conf.Config
-
- getNameSuffix() - 类 中的方法com.github.haiger.crab.conf.Config
-
- getNodes() - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- getPassword() - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- getPoolMaxActive() - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- getPoolMaxIdle() - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- getPoolMaxWait() - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- getPoolMinIdle() - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- getReadTimeout() - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- getRedisConfig() - 类 中的方法com.github.haiger.crab.conf.Config
-
- getRenewExecutorCoreSize() - 类 中的方法com.github.haiger.crab.conf.Config
-
- getRenewExecutorMaxSize() - 类 中的方法com.github.haiger.crab.conf.Config
-
- getRenewExecutorQueueSize() - 类 中的方法com.github.haiger.crab.conf.Config
-
- getRenewIntervalTime() - 类 中的方法com.github.haiger.crab.conf.Config
-
- getSpinIntervalTime() - 类 中的方法com.github.haiger.crab.conf.Config
-
- getSpinIntervalTime() - 类 中的方法com.github.haiger.crab.LockContext
-
H
- hashCode() - 类 中的方法com.github.haiger.crab.engine.redis.JedisPoolInfo
-
I
- id() - 类 中的静态方法com.github.haiger.crab.util.IdGenerator
-
- IdGenerator - com.github.haiger.crab.util中的类
-
这是MongoDB的ObjectID的实现方式,由时间戳+机器标识+进程标识+自增数来构造全局唯一字符串。
- isLeader() - 类 中的方法com.github.haiger.crab.LeaderElect
-
- isPoolTestOnBorrow() - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
J
- JedisPoolFactory - com.github.haiger.crab.engine.redis中的类
-
- JedisPoolFactory() - 类 的构造器com.github.haiger.crab.engine.redis.JedisPoolFactory
-
- JedisPoolInfo - com.github.haiger.crab.engine.redis中的类
-
- JedisPoolInfo() - 类 的构造器com.github.haiger.crab.engine.redis.JedisPoolInfo
-
L
- LeaderElect - com.github.haiger.crab中的类
-
- LeaderElect(LockContext) - 类 的构造器com.github.haiger.crab.LeaderElect
-
- LeaderElectListener - com.github.haiger.crab中的接口
-
- load(String) - 类 中的方法com.github.haiger.crab.conf.Config
-
- loadWithFile(File) - 类 中的方法com.github.haiger.crab.conf.Config
-
- loadWithProps(Properties) - 类 中的方法com.github.haiger.crab.conf.Config
-
- LocalLock - com.github.haiger.crab.engine.local中的类
-
- LocalLock(long) - 类 的构造器com.github.haiger.crab.engine.local.LocalLock
-
- lock(String, String, long) - 类 中的方法com.github.haiger.crab.engine.local.LocalLock
-
- Lock - com.github.haiger.crab.engine中的接口
-
- lock(String, String, long) - 接口 中的方法com.github.haiger.crab.engine.Lock
-
- lock(String, String, long) - 类 中的方法com.github.haiger.crab.engine.redis.RedisLock
-
- lock(String, String, long) - 类 中的方法com.github.haiger.crab.engine.zookeeper.ZookeeperLock
-
- lock(String, String) - 类 中的方法com.github.haiger.crab.ReentrantLock
-
- LockContext - com.github.haiger.crab中的类
-
- LockEngine - com.github.haiger.crab.conf中的枚举
-
N
- NamedThreadFactory - com.github.haiger.crab.util中的类
-
- NamedThreadFactory(String) - 类 的构造器com.github.haiger.crab.util.NamedThreadFactory
-
- newThread(Runnable) - 类 中的方法com.github.haiger.crab.util.NamedThreadFactory
-
O
- onLeaderChanged(boolean, long) - 接口 中的方法com.github.haiger.crab.LeaderElectListener
-
P
- putToByteBuffer(ByteBuffer) - 类 中的方法com.github.haiger.crab.util.IdGenerator
-
R
- RedisConfig - com.github.haiger.crab.conf中的类
-
- RedisConfig() - 类 的构造器com.github.haiger.crab.conf.RedisConfig
-
- RedisConfig(Properties) - 类 的构造器com.github.haiger.crab.conf.RedisConfig
-
- RedisLock - com.github.haiger.crab.engine.redis中的类
-
- RedisLock(List<JedisPoolInfo>, long) - 类 的构造器com.github.haiger.crab.engine.redis.RedisLock
-
- ReentrantLock - com.github.haiger.crab中的类
-
- ReentrantLock(LockContext) - 类 的构造器com.github.haiger.crab.ReentrantLock
-
- renewLock(String, String, long) - 类 中的方法com.github.haiger.crab.engine.local.LocalLock
-
- renewLock(String, String, long) - 接口 中的方法com.github.haiger.crab.engine.Lock
-
- renewLock(String, String, long) - 类 中的方法com.github.haiger.crab.engine.redis.RedisLock
-
- renewLock(String, String, long) - 类 中的方法com.github.haiger.crab.engine.zookeeper.ZookeeperLock
-
- run() - 类 中的方法com.github.haiger.crab.LeaderElect
-
S
- setConnectionTimeout(int) - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- setCurrentLockEngine(Lock) - 类 中的方法com.github.haiger.crab.LockContext
-
- setDatabase(int) - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- setEngine(String) - 类 中的方法com.github.haiger.crab.conf.Config
-
- setIpAndPort(String) - 类 中的方法com.github.haiger.crab.engine.redis.JedisPoolInfo
-
- setJedisPool(Pool<Jedis>) - 类 中的方法com.github.haiger.crab.engine.redis.JedisPoolInfo
-
- setJedisPools(List<JedisPoolInfo>) - 类 中的方法com.github.haiger.crab.LockContext
-
- setLeaderLockName(String) - 类 中的方法com.github.haiger.crab.LockContext
-
- setLeaderName(String) - 类 中的方法com.github.haiger.crab.conf.Config
-
- setLeaseTime(long) - 类 中的方法com.github.haiger.crab.conf.Config
-
- setListener(LeaderElectListener) - 类 中的方法com.github.haiger.crab.LeaderElect
-
- setLockEngine(String) - 类 中的方法com.github.haiger.crab.LockContext
-
- setLockLeaseTime(long) - 类 中的方法com.github.haiger.crab.LockContext
-
- setLockNamePrefix(String) - 类 中的方法com.github.haiger.crab.LockContext
-
- setLockNameSuffix(String) - 类 中的方法com.github.haiger.crab.LockContext
-
- setLockRenewExecutorCoreSize(int) - 类 中的方法com.github.haiger.crab.LockContext
-
- setLockRenewExecutorMaxSize(int) - 类 中的方法com.github.haiger.crab.LockContext
-
- setLockRenewExecutorQueueSize(int) - 类 中的方法com.github.haiger.crab.LockContext
-
- setLockRenewIntervalTime(long) - 类 中的方法com.github.haiger.crab.LockContext
-
- setNamePrefix(String) - 类 中的方法com.github.haiger.crab.conf.Config
-
- setNameSuffix(String) - 类 中的方法com.github.haiger.crab.conf.Config
-
- setNodes(String) - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- setPassword(String) - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- setPoolMaxActive(int) - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- setPoolMaxIdle(int) - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- setPoolMaxWait(int) - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- setPoolMinIdle(int) - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- setPoolTestOnBorrow(boolean) - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- setReadTimeout(int) - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- setRedisConfig(RedisConfig) - 类 中的方法com.github.haiger.crab.conf.Config
-
- setRenewExecutorCoreSize(int) - 类 中的方法com.github.haiger.crab.conf.Config
-
- setRenewExecutorMaxSize(int) - 类 中的方法com.github.haiger.crab.conf.Config
-
- setRenewExecutorQueueSize(int) - 类 中的方法com.github.haiger.crab.conf.Config
-
- setRenewIntervalTime(long) - 类 中的方法com.github.haiger.crab.conf.Config
-
- setSpinIntervalTime(long) - 类 中的方法com.github.haiger.crab.conf.Config
-
- setSpinIntervalTime(long) - 类 中的方法com.github.haiger.crab.LockContext
-
- shutDown() - 类 中的方法com.github.haiger.crab.engine.local.LocalLock
-
- shutDown() - 接口 中的方法com.github.haiger.crab.engine.Lock
-
- shutDown() - 类 中的方法com.github.haiger.crab.engine.redis.RedisLock
-
- shutDown() - 类 中的方法com.github.haiger.crab.engine.zookeeper.ZookeeperLock
-
- start() - 类 中的方法com.github.haiger.crab.LeaderElect
-
- suspendLeaderElect(long) - 类 中的方法com.github.haiger.crab.LeaderElect
-
T
- toByteArray() - 类 中的方法com.github.haiger.crab.util.IdGenerator
-
- toHexString() - 类 中的方法com.github.haiger.crab.util.IdGenerator
-
- toString() - 类 中的方法com.github.haiger.crab.conf.Config
-
- toString() - 类 中的方法com.github.haiger.crab.conf.RedisConfig
-
- toString() - 类 中的方法com.github.haiger.crab.util.IdGenerator
-
- tryLock(String, String, long) - 类 中的方法com.github.haiger.crab.engine.local.LocalLock
-
- tryLock(String, String, long) - 接口 中的方法com.github.haiger.crab.engine.Lock
-
- tryLock(String, String, long) - 类 中的方法com.github.haiger.crab.engine.redis.RedisLock
-
- tryLock(String, String, long) - 类 中的方法com.github.haiger.crab.engine.zookeeper.ZookeeperLock
-
- tryLock(String, String) - 类 中的方法com.github.haiger.crab.ReentrantLock
-
U
- unlock(String, String) - 类 中的方法com.github.haiger.crab.engine.local.LocalLock
-
- unlock(String, String) - 接口 中的方法com.github.haiger.crab.engine.Lock
-
- unlock(String, String) - 类 中的方法com.github.haiger.crab.engine.redis.RedisLock
-
- unlock(String, String) - 类 中的方法com.github.haiger.crab.engine.zookeeper.ZookeeperLock
-
- unlock(String) - 类 中的方法com.github.haiger.crab.ReentrantLock
-
V
- valueOf(String) - 枚举 中的静态方法com.github.haiger.crab.conf.LockEngine
-
返回带有指定名称的该类型的枚举常量。
- values() - 枚举 中的静态方法com.github.haiger.crab.conf.LockEngine
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
Z
- ZookeeperLock - com.github.haiger.crab.engine.zookeeper中的类
-
- ZookeeperLock() - 类 的构造器com.github.haiger.crab.engine.zookeeper.ZookeeperLock
-
B C E G H I J L N O P R S T U V Z
Copyright © 2018. All rights reserved.