public class HeartbeatEvent
extends org.springframework.context.ApplicationEvent
source
Constructor and Description |
---|
HeartbeatEvent(Object source,
Object state)
Create a new event with a source (for example a discovery client) and a value.
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
A value representing the state of the service catalog.
|
getSource, toString
public HeartbeatEvent(Object source, Object state)
source
- the source of the eventstate
- the value indicating state of the catalogpublic Object getValue()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.