Class ServiceExporter
- java.lang.Object
 - 
- io.vertx.mutiny.servicediscovery.spi.ServiceExporter
 
 
- 
public class ServiceExporter extends Object
The service exporter allows integrate other discovery technologies with the Vert.x service discovery. It maps entries from another technology to a and maps to a publication in this other technology. The exporter is one side of a service discovery bridge. NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static TypeArg<ServiceExporter>__TYPE_ARG 
- 
Constructor Summary
Constructors Constructor Description ServiceExporter(io.vertx.servicediscovery.spi.ServiceExporter delegate)ServiceExporter(Object delegate) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose(Runnable closeHandler)booleanequals(Object o)io.vertx.servicediscovery.spi.ServiceExportergetDelegate()inthashCode()voidinit(Vertx vertx, ServicePublisher publisher, io.vertx.core.json.JsonObject configuration, Promise<Void> future)static ServiceExporternewInstance(io.vertx.servicediscovery.spi.ServiceExporter arg)voidonPublish(io.vertx.servicediscovery.Record record)voidonUnpublish(String id)voidonUpdate(io.vertx.servicediscovery.Record record)StringtoString() 
 - 
 
- 
- 
Field Detail
- 
__TYPE_ARG
public static final TypeArg<ServiceExporter> __TYPE_ARG
 
 - 
 
- 
Constructor Detail
- 
ServiceExporter
public ServiceExporter(io.vertx.servicediscovery.spi.ServiceExporter delegate)
 
- 
ServiceExporter
public ServiceExporter(Object delegate)
 
 - 
 
- 
Method Detail
- 
getDelegate
public io.vertx.servicediscovery.spi.ServiceExporter getDelegate()
 
- 
init
public void init(Vertx vertx, ServicePublisher publisher, io.vertx.core.json.JsonObject configuration, Promise<Void> future)
- Parameters:
 vertx- the vertx instancepublisher- the service discovery instanceconfiguration- the bridge configuration if anyfuture- a future on which the bridge must report the completion of the starting
 
- 
onPublish
public void onPublish(io.vertx.servicediscovery.Record record)
- Parameters:
 record- the record
 
- 
onUpdate
public void onUpdate(io.vertx.servicediscovery.Record record)
- Parameters:
 record- the record
 
- 
onUnpublish
public void onUnpublish(String id)
- Parameters:
 id- the record registration id
 
- 
close
public void close(Runnable closeHandler)
- Parameters:
 closeHandler- the handle to be notified when exporter is closed, may benull
 
- 
newInstance
public static ServiceExporter newInstance(io.vertx.servicediscovery.spi.ServiceExporter arg)
 
 - 
 
 -