Package org.redisson.connection
Class ServiceManager
java.lang.Object
org.redisson.connection.ServiceManager
- Author:
- Nikita Koksharov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcacheScripts(InetSocketAddress addr, Set<String> scripts) <T> RFuture<T> execute(Supplier<CompletionStage<T>> supplier) byte[]byte[]generateIdArray(int size) getCfg()io.netty.channel.EventLoopGroupgetGroup()getId()io.netty.resolver.AddressResolverGroup<InetSocketAddress> io.netty.util.concurrent.Promise<Void> Class<? extends io.netty.channel.socket.SocketChannel> io.netty.util.HashedWheelTimergetTimer()voidbooleanisCached(InetSocketAddress addr, String script) booleanbooleanio.netty.util.TimeoutnewTimeout(io.netty.util.TimerTask task, long delay, TimeUnit unit) io.netty.util.concurrent.Future<List<InetSocketAddress>> resolveAll(RedisURI uri) voidsetConfig(MasterSlaveServersConfig config) voidsetNatMapper(NatMapper natMapper) <V> voidtransfer(CompletionStage<V> source, CompletableFuture<V> dest)
-
Field Details
-
DUMMY_TIMEOUT
public static final io.netty.util.Timeout DUMMY_TIMEOUT
-
-
Constructor Details
-
ServiceManager
-
-
Method Details
-
initTimer
public void initTimer() -
newTimeout
-
isShuttingDown
public boolean isShuttingDown() -
isShutdown
public boolean isShutdown() -
getConnectionEventsHub
-
getId
-
getGroup
public io.netty.channel.EventLoopGroup getGroup() -
resolveAll
-
getResolverGroup
-
getExecutor
-
getCfg
-
getTimer
public io.netty.util.HashedWheelTimer getTimer() -
getConnectionWatcher
-
getSocketChannelClass
-
getShutdownPromise
-
getShutdownLatch
-
createNodeNotFoundException
-
getConfig
-
setConfig
-
getElementsSubscribeService
-
resolveIP
-
resolveIP
-
toURI
-
setNatMapper
-
isCached
-
cacheScripts
-
calcSHA
-
execute
-
transfer
-
generateId
-
generateIdArray
public byte[] generateIdArray() -
generateIdArray
public byte[] generateIdArray(int size) -
getLiveObjectLatch
-