public static class ReplicationStrategy.Adapter extends com.google.gson.TypeAdapter<ReplicationStrategy>
| Constructor and Description |
|---|
Adapter() |
| Modifier and Type | Method and Description |
|---|---|
ReplicationStrategy |
read(com.google.gson.stream.JsonReader jsonReader) |
void |
write(com.google.gson.stream.JsonWriter jsonWriter,
ReplicationStrategy enumeration) |
public void write(com.google.gson.stream.JsonWriter jsonWriter,
ReplicationStrategy enumeration)
throws IOException
write in class com.google.gson.TypeAdapter<ReplicationStrategy>IOExceptionpublic ReplicationStrategy read(com.google.gson.stream.JsonReader jsonReader) throws IOException
read in class com.google.gson.TypeAdapter<ReplicationStrategy>IOExceptionCopyright © 2021. All rights reserved.