Class DataStoreBackEnd
java.lang.Object
org.opendaylight.lispflowmapping.dsbackend.DataStoreBackEnd
- All Implemented Interfaces:
EventListener
,org.opendaylight.mdsal.binding.api.TransactionChainListener
public class DataStoreBackEnd
extends Object
implements org.opendaylight.mdsal.binding.api.TransactionChainListener
Stores data coming from the mapping database RPCs into the MD-SAL datastore.
- Author:
- Lorand Jakab
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAuthenticationKey
(AuthenticationKey authenticationKey) void
addMapping
(Mapping mapping) void
addXtrIdMapping
(XtrIdMapping mapping) void
void
getAllMappings
(org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDataStore) void
onTransactionChainFailed
(org.opendaylight.mdsal.binding.api.TransactionChain chain, org.opendaylight.mdsal.binding.api.Transaction transaction, Throwable cause) void
onTransactionChainSuccessful
(org.opendaylight.mdsal.binding.api.TransactionChain chain) void
void
void
void
removeAuthenticationKey
(AuthenticationKey authenticationKey) void
void
removeMapping
(Mapping mapping) void
removeXtrIdMapping
(XtrIdMapping mapping) void
void
updateAuthenticationKey
(AuthenticationKey authenticationKey) void
updateMapping
(Mapping mapping)
-
Constructor Details
-
DataStoreBackEnd
public DataStoreBackEnd(org.opendaylight.mdsal.binding.api.DataBroker broker)
-
-
Method Details
-
createTransactionChain
public void createTransactionChain() -
addAuthenticationKey
-
addMapping
-
addXtrIdMapping
-
removeAuthenticationKey
-
removeMapping
-
removeXtrIdMapping
-
removeAllDatastoreContent
public void removeAllDatastoreContent() -
removeAllConfigDatastoreContent
public void removeAllConfigDatastoreContent() -
removeAllOperationalDatastoreContent
public void removeAllOperationalDatastoreContent() -
updateAuthenticationKey
-
updateMapping
-
getAllMappings
-
getAllMappings
-
getAllAuthenticationKeys
-
saveLastUpdateTimestamp
public void saveLastUpdateTimestamp() -
removeLastUpdateTimestamp
public void removeLastUpdateTimestamp() -
getLastUpdateTimestamp
-
onTransactionChainFailed
public void onTransactionChainFailed(org.opendaylight.mdsal.binding.api.TransactionChain chain, org.opendaylight.mdsal.binding.api.Transaction transaction, Throwable cause) - Specified by:
onTransactionChainFailed
in interfaceorg.opendaylight.mdsal.binding.api.TransactionChainListener
-
onTransactionChainSuccessful
public void onTransactionChainSuccessful(org.opendaylight.mdsal.binding.api.TransactionChain chain) - Specified by:
onTransactionChainSuccessful
in interfaceorg.opendaylight.mdsal.binding.api.TransactionChainListener
-
closeTransactionChain
public void closeTransactionChain()
-