summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java17
1 files changed, 8 insertions, 9 deletions
diff --git a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java
index a9f5fedad..2b416e7db 100644
--- a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java
+++ b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java
@@ -43,15 +43,6 @@ public abstract class SdncDmaapConsumer implements Runnable {
private int fetchPause = 5000; // Default pause between fetch - 5 seconds
private int timeout = 15000; // Default timeout - 15 seconds
- public boolean isReady() {
- return ready;
- }
-
-
- public boolean isRunning() {
- return running;
- }
-
public SdncDmaapConsumer() {
}
@@ -60,6 +51,14 @@ public abstract class SdncDmaapConsumer implements Runnable {
init(properties, propertiesPath);
}
+ public boolean isReady() {
+ return ready;
+ }
+
+ public boolean isRunning() {
+ return running;
+ }
+
public String getProperty(String name) {
return properties.getProperty(name, "");
}