@Deprecated public class InMemoryDirectorySynchronisationTokenStore extends Object implements DirectorySynchronisationTokenStore
DirectorySynchronisationTokenStore that stores the tokens in memory| Constructor and Description |
|---|
InMemoryDirectorySynchronisationTokenStore()
Deprecated.
|
InMemoryDirectorySynchronisationTokenStore(ConcurrentMap<Long,String> tokens)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearSynchronisationTokenForDirectory(long directoryId)
Deprecated.
Clears the synchronisation token for the given directory
|
String |
getLastSynchronisationTokenForDirectory(long directoryId)
Deprecated.
Returns the last stored synchronisation token for the directory
|
void |
storeSynchronisationTokenForDirectory(long directoryId,
String syncStatus)
Deprecated.
Store a new synchronisation token for the given directory.
|
public InMemoryDirectorySynchronisationTokenStore()
public InMemoryDirectorySynchronisationTokenStore(ConcurrentMap<Long,String> tokens)
public String getLastSynchronisationTokenForDirectory(long directoryId)
DirectorySynchronisationTokenStoregetLastSynchronisationTokenForDirectory in interface DirectorySynchronisationTokenStoredirectoryId - the id of the directorypublic void storeSynchronisationTokenForDirectory(long directoryId,
String syncStatus)
DirectorySynchronisationTokenStorestoreSynchronisationTokenForDirectory in interface DirectorySynchronisationTokenStoredirectoryId - the id of the directorypublic void clearSynchronisationTokenForDirectory(long directoryId)
DirectorySynchronisationTokenStoreclearSynchronisationTokenForDirectory in interface DirectorySynchronisationTokenStoredirectoryId - directory idCopyright © 2023 Atlassian. All rights reserved.