blob: 400ad0c8062a10d57a32d25af60de7cf2f82d449 [file] [log] [blame]
alshabib7bb05012015-08-05 10:15:09 -07001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
alshabib7bb05012015-08-05 10:15:09 -07003 *
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 /**
Aaron Kruglikov3b615e62017-07-14 14:32:02 -070029 * The meter has been added.
alshabib7bb05012015-08-05 10:15:09 -070030 */
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}