| Package | Description |
|---|---|
| org.onosproject.mastership |
Set of abstractions for dealing with controller mastership related topics.
|
| Modifier and Type | Method and Description |
|---|---|
static MastershipEvent.Type |
MastershipEvent.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MastershipEvent.Type[] |
MastershipEvent.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
MastershipEvent(MastershipEvent.Type type,
DeviceId device,
RoleInfo info)
Creates an event of a given type and for the specified device,
role information, and the current time.
|
MastershipEvent(MastershipEvent.Type type,
DeviceId device,
RoleInfo info,
long time)
Creates an event of a given type and for the specified device, master,
and time.
|
Copyright © 2015. All rights reserved.