blob: c8805ad4f26acc0dd01f0ee433ac37d9ad59211a [file] [log] [blame]
Srikanth Vavilapalli56db94f2015-01-22 22:30:17 -08001/*
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 */
16package org.onosproject.net.group;
17
18/* Generic group bucket entry representation that is stored in a
19 * group object. A group bucket entry provides additional info of
20 * group bucket like statistics...etc
21 */
22public interface GroupBucketEntry extends GroupBucket {
23 /**
24 * Return Number of packets processed by bucket.
25 *
26 * @return long
27 */
28 public long packets();
29
30 /**
31 * Return Number of bytes processed by bucket.
32 *
33 * @return long
34 */
35 public long bytes();
36}