Skip to content

Commit

Permalink
Polishing #1316
Browse files Browse the repository at this point in the history
Extend reflection and proxy configuration. Add documentation

Original pull request: #1318.
  • Loading branch information
mp911de committed Jun 23, 2020
1 parent e6f300e commit 2f7b13c
Show file tree
Hide file tree
Showing 8 changed files with 237 additions and 295 deletions.
9 changes: 9 additions & 0 deletions src/main/asciidoc/advanced-usage.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,23 @@ include::{ext-doc}/Streaming-API.asciidoc[leveloffset=+1]
include::{ext-doc}/Connection-Events.asciidoc[leveloffset=+2]

=== Pipelining and command flushing

include::{ext-doc}/Pipelining-and-command-flushing.asciidoc[leveloffset=+2]

=== Connection Pooling

include::{ext-doc}/Connection-Pooling-5.1.asciidoc[leveloffset=+2]

=== Custom commands

include::{ext-doc}/Custom-commands%2C-outputs-and-command-mechanics.asciidoc[leveloffset=+2]

=== Graal Native Image

include::{ext-doc}/Using-Lettuce-with-Native-Images.asciidoc[leveloffset=+2]

[[command-execution-reliability]]
=== Command execution reliability

include::{ext-doc}/Command-execution-reliability.asciidoc[leveloffset=+2]

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Args=--initialize-at-build-time=io.lettuce.core.metrics.DefaultCommandLatencyCollector,io.lettuce.core.internal.LettuceClassUtils
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
[
[
"io.lettuce.core.pubsub.api.sync.RedisPubSubCommands"
],
[
"io.lettuce.core.api.sync.RedisCommands",
"io.lettuce.core.cluster.api.sync.RedisClusterCommands"
],
[
"io.lettuce.core.sentinel.api.sync.RedisSentinelCommands"
],
[
"io.lettuce.core.cluster.api.sync.NodeSelection",
"io.lettuce.core.cluster.api.sync.NodeSelectionCommands"
],
[
"io.lettuce.core.cluster.pubsub.api.sync.PubSubNodeSelection",
"io.lettuce.core.cluster.pubsub.api.sync.NodeSelectionPubSubCommands"
],
[
"io.lettuce.core.cluster.api.async.NodeSelectionAsyncCommands",
"io.lettuce.core.cluster.api.async.AsyncNodeSelection"
],
[
"io.lettuce.core.cluster.pubsub.api.reactive.NodeSelectionPubSubReactiveCommands",
"io.lettuce.core.cluster.pubsub.api.reactive.PubSubReactiveNodeSelection"
],
[
"io.lettuce.core.cluster.api.sync.RedisAdvancedClusterCommands"
],
[
"io.lettuce.core.cluster.pubsub.api.sync.RedisClusterPubSubCommands",
"io.lettuce.core.pubsub.api.sync.RedisPubSubCommands"
],
[
"io.lettuce.core.support.ConnectionWrapping$HasTargetConnection",
"io.lettuce.core.cluster.api.StatefulRedisClusterConnection"
],
[
"io.lettuce.core.support.ConnectionWrapping$HasTargetConnection",
"io.lettuce.core.cluster.pubsub.StatefulRedisClusterPubSubConnection"
],
[
"io.lettuce.core.support.ConnectionWrapping$HasTargetConnection",
"io.lettuce.core.masterreplica.StatefulRedisMasterReplicaConnection"
],
[
"io.lettuce.core.support.ConnectionWrapping$HasTargetConnection",
"io.lettuce.core.api.StatefulRedisConnection"
],
[
"io.lettuce.core.support.ConnectionWrapping$HasTargetConnection",
"io.lettuce.core.masterslave.StatefulRedisMasterSlaveConnection"
],
[
"io.lettuce.core.support.ConnectionWrapping$HasTargetConnection",
"io.lettuce.core.pubsub.StatefulRedisPubSubConnection"
],
[
"io.lettuce.core.support.ConnectionWrapping$HasTargetConnection",
"io.lettuce.core.sentinel.api.StatefulRedisSentinelConnection"
],
[
"io.lettuce.core.api.sync.RedisCommands",
"io.lettuce.core.cluster.api.sync.RedisClusterCommands"
],
[
"java.lang.reflect.ParameterizedType",
"io.lettuce.core.dynamic.support.TypeWrapper$SerializableTypeProxy",
"java.io.Serializable"
],
[
"java.lang.reflect.TypeVariable",
"io.lettuce.core.dynamic.support.TypeWrapper$SerializableTypeProxy",
"java.io.Serializable"
]
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
[
{
"name": "io.lettuce.core.AbstractRedisAsyncCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.ChannelGroupListener",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.protocol.RedisHandshakeHandler",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.ConnectionEventTrigger",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.ConnectionBuilder$PlainChannelInitializer",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.RedisAsyncCommandsImpl",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.RedisClient",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.BaseRedisCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.RedisCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.RedisGeoCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.RedisHLLCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.RedisHashCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.RedisKeyCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.RedisListCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.RedisScriptingCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.RedisServerCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.RedisSetCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.RedisSortedSetCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.RedisStreamCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.RedisStringCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.api.sync.RedisTransactionalCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.cluster.api.sync.RedisClusterCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.cluster.api.sync.RedisAdvancedClusterCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.cluster.api.async.RedisAdvancedClusterAsyncCommands",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.cluster.RedisAdvancedClusterAsyncCommandsImpl",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.protocol.CommandHandler",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.pubsub.PubSubCommandHandler",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.SslConnectionBuilder$SslChannelInitializer",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "io.lettuce.core.protocol.ConnectionWatchdog",
"allPublicMethods": true,
"allDeclaredConstructors": true
},
{
"name": "reactor.core.publisher.Mono"
}
]

This file was deleted.

3 changes: 0 additions & 3 deletions src/main/resources/META-INF/native-image/proxy-config.json

This file was deleted.

Loading

0 comments on commit 2f7b13c

Please sign in to comment.