public final class TableModificationEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TableModificationEvent.Type
Type of table modification event.
|
| Modifier and Type | Method and Description |
|---|---|
String |
key()
Returns the row key this event is for.
|
static TableModificationEvent |
rowAdded(String tableName,
String key,
org.onosproject.store.service.VersionedValue value)
Creates a new row added table modification event.
|
static TableModificationEvent |
rowDeleted(String tableName,
String key,
org.onosproject.store.service.VersionedValue value)
Creates a new row deleted table modification event.
|
static TableModificationEvent |
rowUpdated(String tableName,
String key,
org.onosproject.store.service.VersionedValue newValue)
Creates a new row updated table modification event.
|
String |
tableName()
Returns name of table this event is for.
|
String |
toString() |
TableModificationEvent.Type |
type()
Returns the type of table modification event.
|
org.onosproject.store.service.VersionedValue |
value()
Returns the value associated with the key.
|
public static TableModificationEvent rowDeleted(String tableName, String key, org.onosproject.store.service.VersionedValue value)
tableName - table name.key - row keyvalue - value associated with the key when it was deleted.public static TableModificationEvent rowAdded(String tableName, String key, org.onosproject.store.service.VersionedValue value)
tableName - table name.key - row keyvalue - value associated with the keypublic static TableModificationEvent rowUpdated(String tableName, String key, org.onosproject.store.service.VersionedValue newValue)
tableName - table name.key - row keynewValue - valuepublic String tableName()
public String key()
public org.onosproject.store.service.VersionedValue value()
public TableModificationEvent.Type type()
Copyright © 2014. All rights reserved.