@Beta public abstract class Datastore extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Datastore.Configuration |
static class |
Datastore.Operational |
Modifier and Type | Field and Description |
---|---|
static Class<Datastore.Configuration> |
CONFIGURATION
Class representing the configuration datastore.
|
static Class<Datastore.Operational> |
OPERATIONAL
Class representing the operational datastore.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends Datastore> |
toClass(LogicalDatastoreType datastoreType)
Returns the datastore class corresponding to the given logical datastore type.
|
static LogicalDatastoreType |
toType(Class<? extends Datastore> datastoreClass)
Returns the logical datastore type corresponding to the given datastore class.
|
public static final Class<Datastore.Configuration> CONFIGURATION
public static final Class<Datastore.Operational> OPERATIONAL
public static LogicalDatastoreType toType(Class<? extends Datastore> datastoreClass)
datastoreClass
- The datastore class to convert.IllegalArgumentException
- if the provided datastore class isn’t handled.public static Class<? extends Datastore> toClass(LogicalDatastoreType datastoreType)
datastoreType
- The logical datastore type to convert.IllegalArgumentException
- if the provided logical datastore type isn’t handled.Copyright © 2019 OpenDaylight. All rights reserved.