V
- value type of which PersistentStore
uses to store & retrieve instancespublic class PersistentStoreConfig<V> extends Object
store
.Modifier and Type | Class and Description |
---|---|
static class |
PersistentStoreConfig.StoreConfigBuilder<V> |
Modifier | Constructor and Description |
---|---|
protected |
PersistentStoreConfig(String name,
InstanceSerializer<V> valueSerializer,
PersistentStoreMode mode,
int capacity) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getCapacity() |
PersistentStoreMode |
getMode() |
String |
getName() |
InstanceSerializer<V> |
getSerializer() |
int |
hashCode() |
static <V> PersistentStoreConfig.StoreConfigBuilder<V> |
newJacksonBuilder(com.fasterxml.jackson.databind.ObjectMapper mapper,
Class<V> clazz) |
static <V extends com.google.protobuf.Message,X extends com.google.protobuf.Message.Builder> |
newProtoBuilder(io.protostuff.Schema<V> writeSchema,
io.protostuff.Schema<X> readSchema) |
protected PersistentStoreConfig(String name, InstanceSerializer<V> valueSerializer, PersistentStoreMode mode, int capacity)
public int getCapacity()
public PersistentStoreMode getMode()
public String getName()
public InstanceSerializer<V> getSerializer()
public static <V extends com.google.protobuf.Message,X extends com.google.protobuf.Message.Builder> PersistentStoreConfig.StoreConfigBuilder<V> newProtoBuilder(io.protostuff.Schema<V> writeSchema, io.protostuff.Schema<X> readSchema)
public static <V> PersistentStoreConfig.StoreConfigBuilder<V> newJacksonBuilder(com.fasterxml.jackson.databind.ObjectMapper mapper, Class<V> clazz)
Copyright © 1970 The Apache Software Foundation. All rights reserved.