Package org.redisson.connection
Class ServiceManager
java.lang.Object
org.redisson.connection.ServiceManager
- Author:
- Nikita Koksharov
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheScripts
(InetSocketAddress addr, Set<String> scripts) <T> RFuture<T>
execute
(Supplier<CompletionStage<T>> supplier) byte[]
byte[]
generateIdArray
(int size) getCfg()
io.netty.channel.EventLoopGroup
getGroup()
getId()
io.netty.resolver.AddressResolverGroup<InetSocketAddress>
io.netty.util.concurrent.Promise<Void>
Class<? extends io.netty.channel.socket.SocketChannel>
io.netty.util.HashedWheelTimer
getTimer()
void
boolean
isCached
(InetSocketAddress addr, String script) boolean
boolean
io.netty.util.Timeout
newTimeout
(io.netty.util.TimerTask task, long delay, TimeUnit unit) io.netty.util.concurrent.Future<List<InetSocketAddress>>
resolveAll
(RedisURI uri) void
setConfig
(MasterSlaveServersConfig config) void
setNatMapper
(NatMapper natMapper) <V> void
transfer
(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
-