Class InMemoryDirectorySynchronisationTokenStore
java.lang.Object
com.atlassian.crowd.manager.directory.InMemoryDirectorySynchronisationTokenStore
- All Implemented Interfaces:
DirectorySynchronisationTokenStore
@Deprecated
public class InMemoryDirectorySynchronisationTokenStore
extends Object
implements DirectorySynchronisationTokenStore
Deprecated.
An in-memory implementation of
DirectorySynchronisationTokenStore that stores the tokens in memory-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidclearSynchronisationTokenForDirectory(long directoryId) Deprecated.Clears the synchronisation token for the given directorygetLastSynchronisationTokenForDirectory(long directoryId) Deprecated.Returns the last stored synchronisation token for the directoryvoidstoreSynchronisationTokenForDirectory(long directoryId, String syncStatus) Deprecated.Store a new synchronisation token for the given directory.
-
Constructor Details
-
InMemoryDirectorySynchronisationTokenStore
public InMemoryDirectorySynchronisationTokenStore()Deprecated. -
InMemoryDirectorySynchronisationTokenStore
Deprecated.
-
-
Method Details
-
getLastSynchronisationTokenForDirectory
Deprecated.Description copied from interface:DirectorySynchronisationTokenStoreReturns the last stored synchronisation token for the directory- Specified by:
getLastSynchronisationTokenForDirectoryin interfaceDirectorySynchronisationTokenStore- Parameters:
directoryId- the id of the directory- Returns:
- the last stored synchronisation token
-
storeSynchronisationTokenForDirectory
Deprecated.Description copied from interface:DirectorySynchronisationTokenStoreStore a new synchronisation token for the given directory. This will overwrite the old token.- Specified by:
storeSynchronisationTokenForDirectoryin interfaceDirectorySynchronisationTokenStore- Parameters:
directoryId- the id of the directory
-
clearSynchronisationTokenForDirectory
public void clearSynchronisationTokenForDirectory(long directoryId) Deprecated.Description copied from interface:DirectorySynchronisationTokenStoreClears the synchronisation token for the given directory- Specified by:
clearSynchronisationTokenForDirectoryin interfaceDirectorySynchronisationTokenStore- Parameters:
directoryId- directory id
-