Class FlowCapableNodeSnapshotDao
- java.lang.Object
-
- org.opendaylight.openflowplugin.applications.frsync.dao.FlowCapableNodeSnapshotDao
-
- All Implemented Interfaces:
FlowCapableNodeDao
public class FlowCapableNodeSnapshotDao extends Object implements FlowCapableNodeDao
Adding cache to data access object ofFlowCapableNode
.
-
-
Constructor Summary
Constructors Constructor Description FlowCapableNodeSnapshotDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<FlowCapableNode>
loadByNodeId(@NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId)
void
updateCache(@NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId, Optional<FlowCapableNode> dataAfter)
-
-
-
Method Detail
-
updateCache
public void updateCache(@NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId, Optional<FlowCapableNode> dataAfter)
-
loadByNodeId
public Optional<FlowCapableNode> loadByNodeId(@NonNull org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId)
- Specified by:
loadByNodeId
in interfaceFlowCapableNodeDao
-
-