public interface ServiceInstanceStateChangeListener<InstanceType extends ServiceInstance>
Modifier and Type | Method and Description |
---|---|
void |
onCreate(InstanceType serviceInstance,
int ephSeqVersion)
Called when new
ServiceInstance is created. |
void |
onRemove(InstanceType serviceInstance,
int ephSeqVersion)
Called when an existing
ServiceInstance is removed. |
void |
onUpdate(InstanceType serviceInstance,
int ephSeqVersion)
Called when an existing
ServiceInstance is updated. |
void onCreate(InstanceType serviceInstance, int ephSeqVersion)
ServiceInstance
is created.serviceInstance
- - created service instancevoid onUpdate(InstanceType serviceInstance, int ephSeqVersion)
ServiceInstance
is updated.serviceInstance
- - updated service instancevoid onRemove(InstanceType serviceInstance, int ephSeqVersion)
ServiceInstance
is removed.serviceInstance
- - removed service instanceCopyright © 2023 The Apache Software Foundation. All rights reserved.