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 NodeId nodeId)
void
updateCache(@NonNull NodeId nodeId, Optional<FlowCapableNode> dataAfter)
-
-
-
Method Detail
-
updateCache
public void updateCache(@NonNull NodeId nodeId, Optional<FlowCapableNode> dataAfter)
-
loadByNodeId
public Optional<FlowCapableNode> loadByNodeId(@NonNull NodeId nodeId)
- Specified by:
loadByNodeId
in interfaceFlowCapableNodeDao
-
-