public class FirewallEntryTable
extends java.util.TreeMap<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
FirewallEntryTable() |
Modifier and Type | Method and Description |
---|---|
void |
deleteFirewallEntry(java.lang.String ruleid)
Removes the firewall rule associated with the given ruleid.
|
java.util.Collection<java.util.Map<java.lang.String,java.lang.Object>> |
getAllFirewallEntries()
Returns all firewall rules of the memory storage.
|
java.util.Map<java.lang.String,java.lang.Object> |
getFirewallEntry(java.lang.String ruleid)
Returns the firewall rule associated with the given ruleid.
|
void |
insertFirewallEntry(java.lang.String ruleid,
java.util.Map<java.lang.String,java.lang.Object> entry)
Stores a firewall rule into the memory storage.
|
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> getFirewallEntry(java.lang.String ruleid)
ruleid
- the ruleid of firewall rule to be searchedpublic void insertFirewallEntry(java.lang.String ruleid, java.util.Map<java.lang.String,java.lang.Object> entry)
ruleid
- the ruleid of firewall rule to insertentry
- the firewall rule to insertpublic void deleteFirewallEntry(java.lang.String ruleid)
ruleid
- the ruleid of firewall rule to deletepublic java.util.Collection<java.util.Map<java.lang.String,java.lang.Object>> getAllFirewallEntries()