Interface L2GatewayCache
-
- All Known Implementing Classes:
L2GatewayCacheImpl
public interface L2GatewayCache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(@NonNull java.lang.String deviceName, L2GatewayDevice l2GatewayDevice)
@NonNull L2GatewayDevice
addOrGet(@NonNull java.lang.String deviceName)
@Nullable L2GatewayDevice
get(java.lang.String deviceName)
@NonNull java.util.Collection<L2GatewayDevice>
getAll()
@Nullable L2GatewayDevice
getByNodeId(java.lang.String nodeId)
@NonNull java.util.concurrent.ConcurrentMap<java.lang.String,L2GatewayDevice>
getCache()
@Nullable L2GatewayDevice
remove(java.lang.String deviceName)
@Nullable L2GatewayDevice
updateL2GatewayCache(java.lang.String psName, java.lang.String hwvtepNodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.TunnelIps> tunnelIps)
@Nullable L2GatewayDevice
updateL2GatewayCache(java.lang.String psName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid l2gwUuid)
-
-
-
Method Detail
-
addOrGet
@NonNull L2GatewayDevice addOrGet(@NonNull java.lang.String deviceName)
-
add
void add(@NonNull java.lang.String deviceName, L2GatewayDevice l2GatewayDevice)
-
remove
@Nullable L2GatewayDevice remove(java.lang.String deviceName)
-
get
@Nullable L2GatewayDevice get(java.lang.String deviceName)
-
getByNodeId
@Nullable L2GatewayDevice getByNodeId(java.lang.String nodeId)
-
getAll
@NonNull java.util.Collection<L2GatewayDevice> getAll()
-
updateL2GatewayCache
@Nullable L2GatewayDevice updateL2GatewayCache(java.lang.String psName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid l2gwUuid)
-
updateL2GatewayCache
@Nullable L2GatewayDevice updateL2GatewayCache(java.lang.String psName, java.lang.String hwvtepNodeId, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.TunnelIps> tunnelIps)
-
getCache
@NonNull java.util.concurrent.ConcurrentMap<java.lang.String,L2GatewayDevice> getCache()
-
-