Toshio Koide | b8cea26 | 2014-08-12 18:45:46 -0700 | [diff] [blame] | 1 | package net.onrc.onos.api.flowmanager; |
2 | |||||
3 | /** | ||||
Toshio Koide | 3c84631 | 2014-08-21 19:47:15 -0700 | [diff] [blame] | 4 | * An interface for handling flow batch operation. |
Toshio Koide | b8cea26 | 2014-08-12 18:45:46 -0700 | [diff] [blame] | 5 | */ |
Toshio Koide | 3c84631 | 2014-08-21 19:47:15 -0700 | [diff] [blame] | 6 | public interface FlowBatchHandle { |
7 | /** | ||||
8 | * Gets the flow batch operation. | ||||
9 | * | ||||
10 | * @return the flow batch operation | ||||
11 | */ | ||||
12 | public FlowBatchOperation getFlowBatchOperation(); | ||||
Toshio Koide | b8cea26 | 2014-08-12 18:45:46 -0700 | [diff] [blame] | 13 | |
14 | /** | ||||
Toshio Koide | 3c84631 | 2014-08-21 19:47:15 -0700 | [diff] [blame] | 15 | * Gets the state for the flow batch operation. |
Toshio Koide | b8cea26 | 2014-08-12 18:45:46 -0700 | [diff] [blame] | 16 | * |
Toshio Koide | 3c84631 | 2014-08-21 19:47:15 -0700 | [diff] [blame] | 17 | * @return the state for the flow batch operation |
Toshio Koide | b8cea26 | 2014-08-12 18:45:46 -0700 | [diff] [blame] | 18 | */ |
Toshio Koide | 3c84631 | 2014-08-21 19:47:15 -0700 | [diff] [blame] | 19 | public FlowBatchState getState(); |
Toshio Koide | b8cea26 | 2014-08-12 18:45:46 -0700 | [diff] [blame] | 20 | |
21 | /** | ||||
Toshio Koide | 3c84631 | 2014-08-21 19:47:15 -0700 | [diff] [blame] | 22 | * Purge the flow batch operation from the map. |
Toshio Koide | b8cea26 | 2014-08-12 18:45:46 -0700 | [diff] [blame] | 23 | */ |
Toshio Koide | 3c84631 | 2014-08-21 19:47:15 -0700 | [diff] [blame] | 24 | public void purge(); |
Toshio Koide | b8cea26 | 2014-08-12 18:45:46 -0700 | [diff] [blame] | 25 | } |