Package | Description |
---|---|
etri.sdn.controller.module.devicemanager |
Modifier and Type | Field and Description |
---|---|
protected java.util.EnumSet<IDeviceService.DeviceField> |
Devices.DeviceUpdate.fieldsChanged
If not added, then this is the list of fields changed.
|
(package private) static java.util.EnumSet<IDeviceService.DeviceField> |
Device.ipv4Fields |
private static java.util.EnumSet<IDeviceService.DeviceField> |
OFMDefaultEntityClassifier.keyFields |
protected java.util.EnumSet<IDeviceService.DeviceField> |
IndexedEntity.keyFields |
protected java.util.EnumSet<IDeviceService.DeviceField> |
DeviceIndex.keyFields
The key fields for this index
|
private java.util.concurrent.ConcurrentHashMap<java.util.EnumSet<IDeviceService.DeviceField>,EntityToMultiDeviceIdIndex> |
Devices.multiIndices
Multi indices (from an Entity to a set of device IDs)
|
private java.util.concurrent.ConcurrentHashMap<java.util.EnumSet<IDeviceService.DeviceField>,EntityToSingleDeviceIdIndex> |
Devices.singleIndices
Single Indices (from an Entity to a device id).
|
Modifier and Type | Method and Description |
---|---|
static IDeviceService.DeviceField |
IDeviceService.DeviceField.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IDeviceService.DeviceField[] |
IDeviceService.DeviceField.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private java.util.EnumSet<IDeviceService.DeviceField> |
Devices.findChangedFields(Device device,
Entity newEntity)
Checks the changed
IDeviceService.DeviceField of the device. |
private java.util.EnumSet<IDeviceService.DeviceField> |
Devices.getEntityKeys(java.lang.Long macAddress,
java.lang.Short vlan,
java.lang.Integer ipv4Address,
java.lang.Long switchDPID,
java.lang.Integer switchPort)
Returns the key fields for each argument that is not null.
|
java.util.EnumSet<IDeviceService.DeviceField> |
OFMDefaultEntityClassifier.getKeyFields()
Returns the primary key-fields to classify entities.
|
java.util.EnumSet<IDeviceService.DeviceField> |
OFMDefaultEntityClassifier.DefaultEntityClass.getKeyFields() |
java.util.EnumSet<IDeviceService.DeviceField> |
IEntityClassifierService.getKeyFields()
Returns the most general list of fields that should be used as key
fields.
|
java.util.EnumSet<IDeviceService.DeviceField> |
IEntityClass.getKeyFields()
Returns the set of key fields for this entity class.
|
Modifier and Type | Method and Description |
---|---|
void |
OFMDeviceManager.addIndex(boolean perClass,
java.util.EnumSet<IDeviceService.DeviceField> keyFields) |
void |
IDeviceService.addIndex(boolean perClass,
java.util.EnumSet<IDeviceService.DeviceField> keyFields)
Creates an index over a set of fields.
|
void |
Devices.addIndex(boolean perClass,
java.util.EnumSet<IDeviceService.DeviceField> keyFields) |
private boolean |
Devices.allKeyFieldsPresent(Entity e,
java.util.EnumSet<IDeviceService.DeviceField> keyFields)
Checks if the entity e has all the keyFields set.
|
java.util.Iterator<Device> |
OFMDeviceManager.queryClassByEntity(IEntityClass clazz,
java.util.EnumSet<IDeviceService.DeviceField> keyFields,
Entity entity) |
java.util.Iterator<Device> |
Devices.queryClassByEntity(IEntityClass clazz,
java.util.EnumSet<IDeviceService.DeviceField> keyFields,
Entity entity)
Returns an iterator of devices that related to the entity argument.
|
Constructor and Description |
---|
DeviceIndex(java.util.EnumSet<IDeviceService.DeviceField> keyFields)
Constructs a new device index using the provided key fields.
|
Devices.DeviceUpdate(IDevice device,
Devices.DeviceUpdate.Change change,
java.util.EnumSet<IDeviceService.DeviceField> fieldsChanged)
Constructor
|
EntityToMultiDeviceIdIndex(java.util.EnumSet<IDeviceService.DeviceField> keyFields)
Construct a new device index using the provided key fields.
|
EntityToSingleDeviceIdIndex(java.util.EnumSet<IDeviceService.DeviceField> keyFields)
Construct a new device index using the provided key fields.
|
IndexedEntity(java.util.EnumSet<IDeviceService.DeviceField> keyFields,
Entity entity)
Creates a new
IndexedEntity for the given Entity using
the provided key fields. |