public class SubscriberIdle extends Object implements org.apache.felix.systemready.SystemReadyCheck, Closeable
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_IDLE_TIME_MILLIS |
| Constructor and Description |
|---|
SubscriberIdle(org.osgi.framework.BundleContext context,
int idleMillis) |
| Modifier and Type | Method and Description |
|---|---|
void |
busy()
Called when processing of a message starts
|
void |
close() |
String |
getName() |
org.apache.felix.systemready.CheckStatus |
getStatus() |
void |
idle()
Called when processing of a message has finished
|
boolean |
isReady() |
public static final int DEFAULT_IDLE_TIME_MILLIS
public SubscriberIdle(org.osgi.framework.BundleContext context,
int idleMillis)
public String getName()
getName in interface org.apache.felix.systemready.SystemReadyCheckpublic org.apache.felix.systemready.CheckStatus getStatus()
getStatus in interface org.apache.felix.systemready.SystemReadyCheckpublic void busy()
public boolean isReady()
public void idle()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.