public class PackageStatusWatcher extends Object implements Closeable
| Constructor and Description |
|---|
PackageStatusWatcher(org.apache.sling.distribution.journal.MessagingProvider messagingProvider,
Topics topics) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.sling.distribution.journal.messages.PackageStatusMessage.Status |
getStatus(String subAgentName,
long pkgOffset)
Gets the status that confirms the package at offset pkgOffset
|
public PackageStatusWatcher(org.apache.sling.distribution.journal.MessagingProvider messagingProvider,
Topics topics)
public org.apache.sling.distribution.journal.messages.PackageStatusMessage.Status getStatus(String subAgentName, long pkgOffset)
pkgOffset - the offset of the packagepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.