@Deprecated public class InMemoryDirectorySynchronisationTokenStore extends Object implements DirectorySynchronisationTokenStore
DirectorySynchronisationTokenStore
that stores the tokens in memoryConstructor 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)
DirectorySynchronisationTokenStore
getLastSynchronisationTokenForDirectory
in interface DirectorySynchronisationTokenStore
directoryId
- the id of the directorypublic void storeSynchronisationTokenForDirectory(long directoryId, String syncStatus)
DirectorySynchronisationTokenStore
storeSynchronisationTokenForDirectory
in interface DirectorySynchronisationTokenStore
directoryId
- the id of the directorypublic void clearSynchronisationTokenForDirectory(long directoryId)
DirectorySynchronisationTokenStore
clearSynchronisationTokenForDirectory
in interface DirectorySynchronisationTokenStore
directoryId
- directory idCopyright © 2020 Atlassian. All rights reserved.