File tree 6 files changed +18
-6
lines changed
src/main/java/io/vertx/redis/client
6 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 16
16
package io .vertx .redis .client ;
17
17
18
18
import io .vertx .codegen .annotations .DataObject ;
19
+ import io .vertx .codegen .annotations .JsonGen ;
19
20
import io .vertx .core .json .JsonObject ;
20
21
21
22
import java .util .UUID ;
22
23
23
- @ DataObject (generateConverter = true )
24
+ @ DataObject
25
+ @ JsonGen (publicConverter = false )
24
26
public class PoolOptions {
25
27
26
28
private String name ;
Original file line number Diff line number Diff line change 16
16
package io .vertx .redis .client ;
17
17
18
18
import io .vertx .codegen .annotations .DataObject ;
19
+ import io .vertx .codegen .annotations .JsonGen ;
19
20
import io .vertx .core .json .JsonObject ;
20
21
21
22
import java .util .List ;
22
23
23
- @ DataObject (generateConverter = true )
24
+ @ DataObject
25
+ @ JsonGen (publicConverter = false )
24
26
public class RedisClusterConnectOptions extends RedisConnectOptions {
25
27
26
28
private RedisReplicas useReplicas ;
Original file line number Diff line number Diff line change 16
16
package io .vertx .redis .client ;
17
17
18
18
import io .vertx .codegen .annotations .DataObject ;
19
+ import io .vertx .codegen .annotations .JsonGen ;
19
20
import io .vertx .core .json .JsonObject ;
20
21
21
22
import java .util .ArrayList ;
22
23
import java .util .List ;
23
24
24
- @ DataObject (generateConverter = true )
25
+ @ DataObject
26
+ @ JsonGen (publicConverter = false )
25
27
public abstract class RedisConnectOptions {
26
28
27
29
private volatile String password ;
Original file line number Diff line number Diff line change 17
17
18
18
import io .vertx .codegen .annotations .DataObject ;
19
19
import io .vertx .codegen .annotations .GenIgnore ;
20
+ import io .vertx .codegen .annotations .JsonGen ;
20
21
import io .vertx .core .json .JsonObject ;
21
22
import io .vertx .core .net .NetClientOptions ;
22
23
import io .vertx .core .tracing .TracingPolicy ;
30
31
*
31
32
* @author Paulo Lopes
32
33
*/
33
- @ DataObject (generateConverter = true )
34
+ @ DataObject
35
+ @ JsonGen (publicConverter = false )
34
36
public class RedisOptions {
35
37
36
38
/**
Original file line number Diff line number Diff line change 16
16
package io .vertx .redis .client ;
17
17
18
18
import io .vertx .codegen .annotations .DataObject ;
19
+ import io .vertx .codegen .annotations .JsonGen ;
19
20
import io .vertx .core .json .JsonObject ;
20
21
21
22
import java .util .List ;
22
23
23
- @ DataObject (generateConverter = true )
24
+ @ DataObject
25
+ @ JsonGen (publicConverter = false )
24
26
public class RedisSentinelConnectOptions extends RedisConnectOptions {
25
27
26
28
private RedisRole role ;
Original file line number Diff line number Diff line change 16
16
package io .vertx .redis .client ;
17
17
18
18
import io .vertx .codegen .annotations .DataObject ;
19
+ import io .vertx .codegen .annotations .JsonGen ;
19
20
import io .vertx .core .json .JsonObject ;
20
21
21
22
import java .util .List ;
22
23
23
- @ DataObject (generateConverter = true )
24
+ @ DataObject
25
+ @ JsonGen (publicConverter = false )
24
26
public class RedisStandaloneConnectOptions extends RedisConnectOptions {
25
27
26
28
public RedisStandaloneConnectOptions (RedisOptions options ) {
You can’t perform that action at this time.
0 commit comments