org.springframework.data.redis.core.types.RedisClientInfo Java Examples
The following examples show how to use
org.springframework.data.redis.core.types.RedisClientInfo.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RedissonClusterConnection.java From redisson with Apache License 2.0 | 5 votes |
@Override public List<RedisClientInfo> getClientList(RedisClusterNode node) { MasterSlaveEntry entry = getEntry(node); RFuture<List<String>> f = executorService.readAsync(entry, StringCodec.INSTANCE, RedisCommands.CLIENT_LIST); List<String> list = syncFuture(f); return CONVERTER.convert(list.toArray(new String[list.size()])); }
Example #2
Source File: RedissonClusterConnection.java From redisson with Apache License 2.0 | 5 votes |
@Override public List<RedisClientInfo> getClientList(RedisClusterNode node) { MasterSlaveEntry entry = getEntry(node); RFuture<List<String>> f = executorService.readAsync(entry, StringCodec.INSTANCE, RedisCommands.CLIENT_LIST); List<String> list = syncFuture(f); return CONVERTER.convert(list.toArray(new String[list.size()])); }
Example #3
Source File: RedissonReactiveClusterServerCommands.java From redisson with Apache License 2.0 | 5 votes |
@Override public Flux<RedisClientInfo> getClientList(RedisClusterNode node) { MasterSlaveEntry entry = getEntry(node); Mono<List<String>> m = executorService.reactive(() -> { return executorService.readAsync(entry, StringCodec.INSTANCE, RedisCommands.CLIENT_LIST); }); return m.flatMapMany(s -> Flux.fromIterable(CONVERTER.convert(s.toArray(new String[s.size()])))); }
Example #4
Source File: RedissonClusterConnection.java From redisson with Apache License 2.0 | 5 votes |
@Override public List<RedisClientInfo> getClientList(RedisClusterNode node) { MasterSlaveEntry entry = getEntry(node); RFuture<List<String>> f = executorService.readAsync(entry, StringCodec.INSTANCE, RedisCommands.CLIENT_LIST); List<String> list = syncFuture(f); return CONVERTER.convert(list.toArray(new String[list.size()])); }
Example #5
Source File: RedissonReactiveClusterServerCommands.java From redisson with Apache License 2.0 | 5 votes |
@Override public Flux<RedisClientInfo> getClientList(RedisClusterNode node) { MasterSlaveEntry entry = getEntry(node); Mono<List<String>> m = executorService.reactive(() -> { return executorService.readAsync(entry, StringCodec.INSTANCE, RedisCommands.CLIENT_LIST); }); return m.flatMapMany(s -> Flux.fromIterable(CONVERTER.convert(s.toArray(new String[s.size()])))); }
Example #6
Source File: RedissonClusterConnection.java From redisson with Apache License 2.0 | 5 votes |
@Override public List<RedisClientInfo> getClientList(RedisClusterNode node) { MasterSlaveEntry entry = getEntry(node); RFuture<List<String>> f = executorService.readAsync(entry, StringCodec.INSTANCE, RedisCommands.CLIENT_LIST); List<String> list = syncFuture(f); return CONVERTER.convert(list.toArray(new String[list.size()])); }
Example #7
Source File: RedissonClusterConnection.java From redisson with Apache License 2.0 | 5 votes |
@Override public List<RedisClientInfo> getClientList(RedisClusterNode node) { MasterSlaveEntry entry = getEntry(node); RFuture<List<String>> f = executorService.readAsync(entry, StringCodec.INSTANCE, RedisCommands.CLIENT_LIST); List<String> list = syncFuture(f); return CONVERTER.convert(list.toArray(new String[list.size()])); }
Example #8
Source File: RedissonClusterConnection.java From redisson with Apache License 2.0 | 5 votes |
@Override public List<RedisClientInfo> getClientList(RedisClusterNode node) { MasterSlaveEntry entry = getEntry(node); RFuture<List<String>> f = executorService.readAsync(entry, StringCodec.INSTANCE, RedisCommands.CLIENT_LIST); List<String> list = syncFuture(f); return CONVERTER.convert(list.toArray(new String[list.size()])); }
Example #9
Source File: RedissonReactiveClusterServerCommands.java From redisson with Apache License 2.0 | 5 votes |
@Override public Flux<RedisClientInfo> getClientList(RedisClusterNode node) { MasterSlaveEntry entry = getEntry(node); Mono<List<String>> m = executorService.reactive(() -> { return executorService.readAsync(entry, StringCodec.INSTANCE, RedisCommands.CLIENT_LIST); }); return m.flatMapMany(s -> Flux.fromIterable(CONVERTER.convert(s.toArray(new String[s.size()])))); }
Example #10
Source File: RedissonReactiveClusterServerCommands.java From redisson with Apache License 2.0 | 5 votes |
@Override public Flux<RedisClientInfo> getClientList(RedisClusterNode node) { MasterSlaveEntry entry = getEntry(node); Mono<List<String>> m = executorService.reactive(() -> { return executorService.readAsync(entry, StringCodec.INSTANCE, RedisCommands.CLIENT_LIST); }); return m.flatMapMany(s -> Flux.fromIterable(CONVERTER.convert(s.toArray(new String[s.size()])))); }
Example #11
Source File: RedissonConnection.java From redisson with Apache License 2.0 | 4 votes |
@Override public List<RedisClientInfo> getClientList() { throw new UnsupportedOperationException(); }
Example #12
Source File: RedissonConnection.java From redisson with Apache License 2.0 | 4 votes |
@Override public List<RedisClientInfo> getClientList() { throw new UnsupportedOperationException(); }
Example #13
Source File: RedissonClusterConnectionTest.java From redisson with Apache License 2.0 | 4 votes |
@Test public void testGetClientList() { RedisClusterNode master = getFirstMaster(); List<RedisClientInfo> list = connection.getClientList(master); assertThat(list.size()).isGreaterThan(10); }
Example #14
Source File: RedissonClusterConnectionTest.java From redisson with Apache License 2.0 | 4 votes |
@Test public void testGetClientList() { RedisClusterNode master = getFirstMaster(); List<RedisClientInfo> list = connection.getClientList(master); assertThat(list.size()).isGreaterThan(10); }
Example #15
Source File: RedissonReactiveServerCommands.java From redisson with Apache License 2.0 | 4 votes |
@Override public Flux<RedisClientInfo> getClientList() { throw new UnsupportedOperationException(); }
Example #16
Source File: RedissonClusterConnectionTest.java From redisson with Apache License 2.0 | 4 votes |
@Test public void testGetClientList() { RedisClusterNode master = getFirstMaster(); List<RedisClientInfo> list = connection.getClientList(master); assertThat(list.size()).isGreaterThan(10); }
Example #17
Source File: RedissonConnection.java From redisson with Apache License 2.0 | 4 votes |
@Override public List<RedisClientInfo> getClientList() { throw new UnsupportedOperationException(); }
Example #18
Source File: RedissonConnection.java From redisson with Apache License 2.0 | 4 votes |
@Override public List<RedisClientInfo> getClientList() { throw new UnsupportedOperationException(); }
Example #19
Source File: AbstractRedisConnection.java From tx-lcn with Apache License 2.0 | 4 votes |
@Override public List<RedisClientInfo> getClientList() { return redisConnection.getClientList(); }
Example #20
Source File: RedissonClusterConnectionTest.java From redisson with Apache License 2.0 | 4 votes |
@Test public void testGetClientList() { RedisClusterNode master = getFirstMaster(); List<RedisClientInfo> list = connection.getClientList(master); assertThat(list.size()).isGreaterThan(10); }
Example #21
Source File: RedissonReactiveServerCommands.java From redisson with Apache License 2.0 | 4 votes |
@Override public Flux<RedisClientInfo> getClientList() { throw new UnsupportedOperationException(); }
Example #22
Source File: RedissonConnection.java From redisson with Apache License 2.0 | 4 votes |
@Override public List<RedisClientInfo> getClientList() { throw new UnsupportedOperationException(); }
Example #23
Source File: RedissonClusterConnectionTest.java From redisson with Apache License 2.0 | 4 votes |
@Test public void testGetClientList() { RedisClusterNode master = getFirstMaster(); List<RedisClientInfo> list = connection.getClientList(master); assertThat(list.size()).isGreaterThan(10); }
Example #24
Source File: RedissonReactiveServerCommands.java From redisson with Apache License 2.0 | 4 votes |
@Override public Flux<RedisClientInfo> getClientList() { throw new UnsupportedOperationException(); }
Example #25
Source File: RedissonConnection.java From redisson with Apache License 2.0 | 4 votes |
@Override public List<RedisClientInfo> getClientList() { throw new UnsupportedOperationException(); }
Example #26
Source File: RedissonClusterConnectionTest.java From redisson with Apache License 2.0 | 4 votes |
@Test public void testGetClientList() { RedisClusterNode master = getFirstMaster(); List<RedisClientInfo> list = connection.getClientList(master); assertThat(list.size()).isGreaterThan(10); }
Example #27
Source File: RedissonReactiveServerCommands.java From redisson with Apache License 2.0 | 4 votes |
@Override public Flux<RedisClientInfo> getClientList() { throw new UnsupportedOperationException(); }
Example #28
Source File: RedissonConnection.java From redisson with Apache License 2.0 | 4 votes |
@Override public List<RedisClientInfo> getClientList() { throw new UnsupportedOperationException(); }
Example #29
Source File: TracingRedisConnection.java From java-redis-client with Apache License 2.0 | 4 votes |
@Override public List<RedisClientInfo> getClientList() { return helper.doInScope(RedisCommand.CLIENT_LIST, () -> connection.getClientList()); }
Example #30
Source File: TracingRedisClusterConnection.java From java-redis-client with Apache License 2.0 | 4 votes |
@Override public List<RedisClientInfo> getClientList(RedisClusterNode node) { return helper.doInScope(CLIENT_LIST, () -> connection.getClientList(node)); }