public class DistributedDeviceKeyStore
extends org.onosproject.store.AbstractStore<org.onosproject.net.key.DeviceKeyEvent,org.onosproject.net.key.DeviceKeyStoreDelegate>
implements org.onosproject.net.key.DeviceKeyStore
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.store.service.StorageService |
storageService |
| Constructor and Description |
|---|
DistributedDeviceKeyStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activate the distributed device key store.
|
void |
createOrUpdateDeviceKey(org.onosproject.net.key.DeviceKey deviceKey) |
void |
deactivate()
Deactivate the distributed device key store.
|
void |
deleteDeviceKey(org.onosproject.net.key.DeviceKeyId deviceKeyId) |
org.onosproject.net.key.DeviceKey |
getDeviceKey(org.onosproject.net.key.DeviceKeyId deviceKeyId) |
Collection<org.onosproject.net.key.DeviceKey> |
getDeviceKeys() |
hasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegatepublic void activate()
public void deactivate()
public void createOrUpdateDeviceKey(org.onosproject.net.key.DeviceKey deviceKey)
createOrUpdateDeviceKey in interface org.onosproject.net.key.DeviceKeyStorepublic void deleteDeviceKey(org.onosproject.net.key.DeviceKeyId deviceKeyId)
deleteDeviceKey in interface org.onosproject.net.key.DeviceKeyStorepublic Collection<org.onosproject.net.key.DeviceKey> getDeviceKeys()
getDeviceKeys in interface org.onosproject.net.key.DeviceKeyStorepublic org.onosproject.net.key.DeviceKey getDeviceKey(org.onosproject.net.key.DeviceKeyId deviceKeyId)
getDeviceKey in interface org.onosproject.net.key.DeviceKeyStore