blob: 3b9360991509b426cbdec749908b8169db5bb746 [file] [log] [blame]
alshabib7bb05012015-08-05 10:15:09 -07001/*
2 * Copyright 2015 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
alshabib10c810b2015-08-18 16:59:04 -070016package org.onosproject.net.meter;
alshabib7bb05012015-08-05 10:15:09 -070017
18/**
19 * Represents the state of the meter as seen by the store.
20 */
21public enum MeterState {
22
23 /**
24 * The meter is in the process of being added.
25 */
26 PENDING_ADD,
27
28 /**
29 * THe meter has been added.
30 */
31 ADDED,
32
33 /**
34 * The meter is in the process of being removed.
35 */
36 PENDING_REMOVE,
37
38 /**
39 * The meter has been removed.
40 */
41 REMOVED,
42
43}