Class InMemoryPersistedObjectsRegister
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.restore.idmapping.InMemoryPersistedObjectsRegister
-
- All Implemented Interfaces:
PersistedObjectsRegister
public class InMemoryPersistedObjectsRegister extends Object implements PersistedObjectsRegister
Keeps persisted objects with their database ids in memory.- Since:
- 7.20.0
-
-
Constructor Summary
Constructors Constructor Description InMemoryPersistedObjectsRegister()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPersistedDatabaseId(Class<?> entityClass, Object databaseId)
void
markIdsAsPersisted(Class<?> entityClass, List<Object> ids)
-
-
-
Method Detail
-
isPersistedDatabaseId
public boolean isPersistedDatabaseId(Class<?> entityClass, Object databaseId)
- Specified by:
isPersistedDatabaseId
in interfacePersistedObjectsRegister
-
markIdsAsPersisted
public void markIdsAsPersisted(Class<?> entityClass, List<Object> ids)
- Specified by:
markIdsAsPersisted
in interfacePersistedObjectsRegister
-
-