public class DirectorySynchronisationInformationStoreImpl extends Object implements DirectorySynchronisationInformationStore
| Constructor and Description |
|---|
DirectorySynchronisationInformationStoreImpl() |
DirectorySynchronisationInformationStoreImpl(ConcurrentMap<Long,DirectorySynchronisationInformation> syncStatus)
Construct a
DirectorySynchronisationInformationStoreImpl which is backed by a concurrent map. |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears directory synchronisation information of all directories.
|
void |
clear(long directoryId)
Clears directory synchronisation information of a directory with the given id.
|
DirectorySynchronisationInformation |
get(long directoryId)
Returns directory synchronisation information for a directory with the given id.
|
void |
set(long directoryId,
DirectorySynchronisationInformation syncInfo)
Set directory synchronisation information for a directory with the given id.
|
public DirectorySynchronisationInformationStoreImpl()
public DirectorySynchronisationInformationStoreImpl(ConcurrentMap<Long,DirectorySynchronisationInformation> syncStatus)
DirectorySynchronisationInformationStoreImpl which is backed by a concurrent map.
This constructor can be used to achieve cluster safety in cluster-capable applications by providing a cluster-aware implementation
public DirectorySynchronisationInformation get(long directoryId)
DirectorySynchronisationInformationStoreget in interface DirectorySynchronisationInformationStoredirectoryId - directory idpublic void set(long directoryId,
DirectorySynchronisationInformation syncInfo)
DirectorySynchronisationInformationStoreset in interface DirectorySynchronisationInformationStoredirectoryId - directory idsyncInfo - directory synchronisation informationpublic void clear(long directoryId)
DirectorySynchronisationInformationStoreclear in interface DirectorySynchronisationInformationStoredirectoryId - directory idpublic void clear()
DirectorySynchronisationInformationStoreclear in interface DirectorySynchronisationInformationStoreCopyright © 2018 Atlassian. All rights reserved.