net.floodlightcontroller.devicemanager.internal
Class DeviceManagerImpl.ClassState

java.lang.Object
  extended by net.floodlightcontroller.devicemanager.internal.DeviceManagerImpl.ClassState
Enclosing class:
DeviceManagerImpl

protected class DeviceManagerImpl.ClassState
extends java.lang.Object

Used to cache state about specific entity classes


Field Summary
protected  DeviceUniqueIndex classIndex
          The class index
protected  java.util.Map<java.util.EnumSet<IDeviceService.DeviceField>,DeviceIndex> secondaryIndexMap
          This stores secondary indices over the fields in the device for the class
 
Constructor Summary
DeviceManagerImpl.ClassState(IEntityClass clazz)
          Allocate a new DeviceManagerImpl.ClassState object for the class
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classIndex

protected DeviceUniqueIndex classIndex
The class index


secondaryIndexMap

protected java.util.Map<java.util.EnumSet<IDeviceService.DeviceField>,DeviceIndex> secondaryIndexMap
This stores secondary indices over the fields in the device for the class

Constructor Detail

DeviceManagerImpl.ClassState

public DeviceManagerImpl.ClassState(IEntityClass clazz)
Allocate a new DeviceManagerImpl.ClassState object for the class

Parameters:
clazz - the class to use for the state