public class FlowEntryTable
extends java.util.TreeMap<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
TreeMap<String, Map<String, Object>>
.
The first key is the name of the flow entry name (for example, "flow-mod-1").
The second key is the name of the attribute that constitutes a flow-mod record
(for example, "set-vlan-id").Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
FlowEntryTable() |
Modifier and Type | Method and Description |
---|---|
void |
deleteFlowEntry(java.lang.String flowName)
Delete the existing flow entry in the table by its name.
|
java.util.Collection<java.util.Map<java.lang.String,java.lang.Object>> |
getAllFlowEntries()
Returns all the flow entries within the table.
|
java.util.Map<java.lang.String,java.lang.Object> |
getFlowEntry(java.lang.String entryName)
retrieve a flow entry from the table by its name
|
void |
insertFlowEntry(java.lang.String flowName,
java.util.Map<java.lang.String,java.lang.Object> flowEntry)
insert a new flow entry in the table.
|
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, values
private static final long serialVersionUID
public java.util.Map<java.lang.String,java.lang.Object> getFlowEntry(java.lang.String entryName)
entryName
- name of the flow entry to retrieveMap<String, Object>
)public void insertFlowEntry(java.lang.String flowName, java.util.Map<java.lang.String,java.lang.Object> flowEntry)
flowName
- name of the flow entry (String
)flowEntry
- mappings between keys (String
) and values (Object
)public void deleteFlowEntry(java.lang.String flowName)
flowName
- name of the flow entry to delete (String
)public java.util.Collection<java.util.Map<java.lang.String,java.lang.Object>> getAllFlowEntries()
Collection<Map<String, Object>>
object