public final class MetadataClientEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MetadataClientEvent.EventType
Event types describing the repository client
|
Constructor and Description |
---|
MetadataClientEvent(MetadataClientEvent.EventType eventType,
KClient source) |
Modifier and Type | Method and Description |
---|---|
static MetadataClientEvent |
createShuttingDownEvent(KClient source) |
static MetadataClientEvent |
createStartedEvent(KClient source) |
KClient |
getSource() |
MetadataClientEvent.EventType |
getType() |
public MetadataClientEvent(MetadataClientEvent.EventType eventType, KClient source)
eventType
- type of this eventsource
- the source of this eventpublic MetadataClientEvent.EventType getType()
public KClient getSource()
public static MetadataClientEvent createStartedEvent(KClient source)
source
- the source of the new eventpublic static MetadataClientEvent createShuttingDownEvent(KClient source)
source
- the source of the new eventnull
)Copyright © 2013–2019. All rights reserved.