public class CloudJobServiceWaterImpl extends Object implements org.noear.solon.cloud.service.CloudJobService, org.noear.solon.core.bean.LifecycleBean
| Modifier and Type | Field and Description |
|---|---|
static CloudJobServiceWaterImpl |
instance |
Map<String,org.noear.solon.cloud.model.JobHolder> |
jobMap |
| Constructor and Description |
|---|
CloudJobServiceWaterImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.noear.solon.cloud.model.JobHolder |
get(String name) |
boolean |
isRegistered(String name) |
void |
postStart() |
boolean |
register(String name,
String cron7x,
String description,
org.noear.solon.cloud.CloudJobHandler handler) |
public static final CloudJobServiceWaterImpl instance
public org.noear.solon.cloud.model.JobHolder get(String name)
public void postStart()
throws Throwable
postStart in interface org.noear.solon.core.LifecycleThrowablepublic boolean register(String name, String cron7x, String description, org.noear.solon.cloud.CloudJobHandler handler)
register in interface org.noear.solon.cloud.service.CloudJobServicepublic boolean isRegistered(String name)
isRegistered in interface org.noear.solon.cloud.service.CloudJobServiceCopyright © 2025. All rights reserved.