public class OFTableStatistics extends Object implements OFStatistics
Modifier and Type | Field and Description |
---|---|
protected int |
activeCount |
protected long |
lookupCount |
protected long |
matchedCount |
static int |
MAX_TABLE_NAME_LEN |
protected int |
maximumEntries |
protected String |
name |
protected byte |
tableId |
protected int |
wildcards |
Constructor and Description |
---|
OFTableStatistics() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getActiveCount() |
int |
getLength()
Returns the wire length of this message in bytes
|
long |
getLookupCount() |
long |
getMatchedCount() |
int |
getMaximumEntries() |
String |
getName() |
byte |
getTableId() |
int |
getWildcards() |
int |
hashCode() |
void |
readFrom(org.jboss.netty.buffer.ChannelBuffer data)
Read this message off the wire from the specified ByteBuffer
|
void |
setActiveCount(int activeCount) |
void |
setLookupCount(long lookupCount) |
void |
setMatchedCount(long matchedCount) |
void |
setMaximumEntries(int maximumEntries) |
void |
setName(String name) |
void |
setTableId(byte tableId) |
void |
setWildcards(int wildcards) |
void |
writeTo(org.jboss.netty.buffer.ChannelBuffer data)
Write this message's binary format to the specified ByteBuffer
|
public static int MAX_TABLE_NAME_LEN
protected byte tableId
protected String name
protected int wildcards
protected int maximumEntries
protected int activeCount
protected long lookupCount
protected long matchedCount
public byte getTableId()
public void setTableId(byte tableId)
tableId
- the tableId to setpublic String getName()
public void setName(String name)
name
- the name to setpublic int getWildcards()
public void setWildcards(int wildcards)
wildcards
- the wildcards to setpublic int getMaximumEntries()
public void setMaximumEntries(int maximumEntries)
maximumEntries
- the maximumEntries to setpublic int getActiveCount()
public void setActiveCount(int activeCount)
activeCount
- the activeCount to setpublic long getLookupCount()
public void setLookupCount(long lookupCount)
lookupCount
- the lookupCount to setpublic long getMatchedCount()
public void setMatchedCount(long matchedCount)
matchedCount
- the matchedCount to setpublic int getLength()
OFStatistics
getLength
in interface OFStatistics
public void readFrom(org.jboss.netty.buffer.ChannelBuffer data)
OFStatistics
readFrom
in interface OFStatistics
public void writeTo(org.jboss.netty.buffer.ChannelBuffer data)
OFStatistics
writeTo
in interface OFStatistics
Copyright © 2015. All rights reserved.