Package liquibase

Class ThreadLocalScopeManager

java.lang.Object
liquibase.ScopeManager
liquibase.ThreadLocalScopeManager

@Deprecated public class ThreadLocalScopeManager extends ScopeManager
Deprecated.
ScopeManager now uses ThreadLocal to prevent concurrent modification issues. This class is no longer needed.
An alternative to SingletonScopeManager which manages a separate Scope per thread.

Integrations that would prefer to use this scope manager can call
Scope.setScopeManager(new ThreadLocalScopeManager())
.

The value of Scope.getCurrentScope() at the time of the ThreadLocalScopeManger's creation will be the basis of all scopes created after setScopeManager() is changed, so you will generally want to setScopeManager as soon as possible.
  • Constructor Details

    • ThreadLocalScopeManager

      public ThreadLocalScopeManager()
      Deprecated.
    • ThreadLocalScopeManager

      public ThreadLocalScopeManager(Scope rootScope)
      Deprecated.
  • Method Details