@ProviderType public interface ReplicationStatusProvider
ReplicationStatus
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,ReplicationStatus> |
getBatchReplicationStatus(Resource... resources)
Returns a batch replication status for a number of resources, in the form of a map whose keys are paths and values
are related replication statuses.
|
ReplicationStatus |
getReplicationStatus(Resource resource)
Returns a replication status for the given resource
|
ReplicationStatus |
getReplicationStatus(Session session,
java.lang.String path)
Returns a replication status for the node at a given path
|
@Nonnull java.util.Map<java.lang.String,ReplicationStatus> getBatchReplicationStatus(@Nonnull Resource... resources)
resources
- the resource to obtain the statuses for@CheckForNull ReplicationStatus getReplicationStatus(@Nonnull Resource resource)
resource
- the resource to obtain the status fornull
if not available.@CheckForNull ReplicationStatus getReplicationStatus(@Nonnull Session session, @Nonnull java.lang.String path) throws RepositoryException
session
- the session used to access the node at the given pathpath
- path to checknull
if not available.RepositoryException
- if retrieval of the related node failsCopyright © 2010 - 2020 Adobe. All Rights Reserved