public interface MetadataSupervisorManager
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<VersionedSupervisorSpec>> |
getAll() |
List<VersionedSupervisorSpec> |
getAllForId(String id) |
Map<String,SupervisorSpec> |
getLatest()
Return latest supervisors (both active and terminated)
|
Map<String,SupervisorSpec> |
getLatestActiveOnly()
Only return the latest active supervisors
|
Map<String,SupervisorSpec> |
getLatestTerminatedOnly()
Only return the latest terminated supervisors
|
void |
insert(String id,
SupervisorSpec spec) |
int |
removeTerminatedSupervisorsOlderThan(long timestamp)
Remove terminated supervisors created before the given timestamp.
|
void |
start() |
void start()
void insert(String id, SupervisorSpec spec)
Map<String,List<VersionedSupervisorSpec>> getAll()
List<VersionedSupervisorSpec> getAllForId(String id)
Map<String,SupervisorSpec> getLatest()
Map<String,SupervisorSpec> getLatestActiveOnly()
Map<String,SupervisorSpec> getLatestTerminatedOnly()
int removeTerminatedSupervisorsOlderThan(long timestamp)
timestamp - timestamp in millisecondsCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.