Package org.nanonative.nano.core.model
Class Service
java.lang.Object
org.nanonative.nano.core.model.Service
- Direct Known Subclasses:
HttpService,LogQueue,MetricService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final longprotected final LockedBooleanprotected final NanoLoggerprotected final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongbooleanisReady()logger()name()nanoThread(Context context) voidabstract Objectabstract voidabstract voidstatic NanoThread[]
-
Field Details
-
name
-
createdAtMs
protected final long createdAtMs -
isReady
-
logger
-
-
Constructor Details
-
Service
-
-
Method Details
-
start
-
stop
-
onFailure
-
onEvent
-
logger
-
name
-
isReady
public boolean isReady() -
createdAtMs
public long createdAtMs() -
nanoThread
-
threadsOf
-