T - The component typepublic class DefaultVerticleContext extends DefaultComponentContext<VerticleContext> implements VerticleContext
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultVerticleContext.Builder
Verticle context builder.
|
config, group, hooks, instances, name, statusaddress, observers, version| Constructor and Description |
|---|
DefaultVerticleContext() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMultiThreaded()
Returns a boolean indicating whether the verticle is a worker and is multi-threaded.
|
boolean |
isVerticle()
Returns a boolean indicating whether the component is a verticle.
|
boolean |
isWorker()
Returns a boolean indicating whether the verticle is a worker verticle.
|
String |
main()
Returns the verticle main.
|
protected String |
type()
Returns the component deployment type.
|
address, asModule, asVerticle, config, fromJson, group, hooks, instance, instance, instances, isModule, name, network, notify, numInstances, setNetworkContext, status, toJson, toStringcopy, equals, hashCode, registerObserver, unregisterObserverclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddress, asModule, asVerticle, config, group, hooks, instance, instance, instances, isModule, name, network, numInstances, statusnotify, registerObserver, unregisterObserverprotected String type()
DefaultComponentContexttype in class DefaultComponentContext<VerticleContext>public boolean isVerticle()
ComponentContextisVerticle in interface ComponentContext<VerticleContext>isVerticle in class DefaultComponentContext<VerticleContext>public String main()
VerticleContextmain in interface VerticleContextpublic boolean isWorker()
VerticleContextisWorker in interface VerticleContextpublic boolean isMultiThreaded()
VerticleContextfalse will be returned.isMultiThreaded in interface VerticleContextCopyright © 2013-2014. All Rights Reserved.