Class JournalAvailableChecker
- java.lang.Object
-
- org.apache.sling.distribution.journal.shared.JournalAvailableChecker
-
- All Implemented Interfaces:
org.osgi.service.event.EventHandler
public class JournalAvailableChecker extends Object implements org.osgi.service.event.EventHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
JournalAvailableChecker.JournalCheckerConfiguration
-
Field Summary
Fields Modifier and Type Field Description static long
INITIAL_RETRY_DELAY
static long
MAX_RETRY_DELAY
-
Constructor Summary
Constructors Constructor Description JournalAvailableChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate(JournalAvailableChecker.JournalCheckerConfiguration config, org.osgi.framework.BundleContext context)
void
deactivate()
void
handleEvent(org.osgi.service.event.Event event)
boolean
isAvailable()
void
run()
-
-
-
Field Detail
-
INITIAL_RETRY_DELAY
public static final long INITIAL_RETRY_DELAY
- See Also:
- Constant Field Values
-
MAX_RETRY_DELAY
public static final long MAX_RETRY_DELAY
- See Also:
- Constant Field Values
-
-
Method Detail
-
activate
public void activate(JournalAvailableChecker.JournalCheckerConfiguration config, org.osgi.framework.BundleContext context)
-
deactivate
public void deactivate()
-
isAvailable
public boolean isAvailable()
-
run
public void run()
-
handleEvent
public void handleEvent(org.osgi.service.event.Event event)
- Specified by:
handleEvent
in interfaceorg.osgi.service.event.EventHandler
-
-