-
Notifications
You must be signed in to change notification settings - Fork 992
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend reflection and proxy configuration. Add documentation Original pull request: #1318.
- Loading branch information
Showing
8 changed files
with
237 additions
and
295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 0 additions & 58 deletions
58
src/main/java/io/lettuce/core/protocol/SslRedisHandshakeHandler.java
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
src/main/resources/META-INF/native-image/io.lettuce/lettuce-core/native-image.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
77 changes: 77 additions & 0 deletions
77
src/main/resources/META-INF/native-image/io.lettuce/lettuce-core/proxy-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
] |
150 changes: 150 additions & 0 deletions
150
src/main/resources/META-INF/native-image/io.lettuce/lettuce-core/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] |
1 change: 0 additions & 1 deletion
1
src/main/resources/META-INF/native-image/native-image.properties
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.