Skip navigation links
A B C D E F G I K L M N O R S T U V 

A

acquireLockDefault() - Method in class io.mongock.driver.core.lock.DefaultLockManager
Tries to acquire the default lock regardless who is the current owner.
activate() - Method in class io.mongock.driver.core.lock.LockDaemon
 

B

build() - Method in class io.mongock.driver.core.lock.DefaultLockManager.DefaultLockManagerBuilder
 
builder() - Static method in class io.mongock.driver.core.lock.DefaultLockManager
 

C

cancel() - Method in class io.mongock.driver.core.lock.LockDaemon
indempotent cancellation
ChangeEntryRepositoryWithEntity<ENTITY_CLASS> - Interface in io.mongock.driver.core.entry
 
close() - Method in class io.mongock.driver.core.lock.DefaultLockManager
Required when lock managing is done.
ConnectionDriverBase - Class in io.mongock.driver.core.driver
 
ConnectionDriverBase(long, long, long) - Constructor for class io.mongock.driver.core.driver.ConnectionDriverBase
 

D

DefaultLockManager - Class in io.mongock.driver.core.lock
This class is responsible of managing the lock at high level.
DefaultLockManager(LockRepository, TimeService, long, long, long, long) - Constructor for class io.mongock.driver.core.lock.DefaultLockManager
Constructor takes some bean injections
DefaultLockManager.DefaultLockManagerBuilder - Class in io.mongock.driver.core.lock
 
DefaultLockManagerBuilder() - Constructor for class io.mongock.driver.core.lock.DefaultLockManager.DefaultLockManagerBuilder
 
dependencies - Variable in class io.mongock.driver.core.driver.ConnectionDriverBase
 
disableTransaction() - Method in class io.mongock.driver.core.driver.TransactionalConnectionDriverBase
 

E

enableTransaction() - Method in class io.mongock.driver.core.driver.TransactionalConnectionDriverBase
 
ensureLockDefault() - Method in class io.mongock.driver.core.lock.DefaultLockManager
Tries to refresh the default lock when the current LockChecker has the lock or , when the lock is expired, is the last owner
executeInTransaction(Runnable) - Method in class io.mongock.driver.core.driver.TransactionalConnectionDriverBase
 
EXPIRES_AT_FIELD - Static variable in class io.mongock.driver.core.lock.LockEntry
 

F

findByKey(String) - Method in interface io.mongock.driver.core.lock.LockRepository
Retrieves a lock by key

G

getAcquireLockQuery() - Method in exception io.mongock.driver.core.lock.LockPersistenceException
 
getDbErrorDetail() - Method in exception io.mongock.driver.core.lock.LockPersistenceException
 
getDependencies() - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
 
getExpiresAt() - Method in class io.mongock.driver.core.lock.LockEntry
 
getKey() - Method in class io.mongock.driver.core.lock.LockEntry
 
getLockManager() - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
 
getLockRepository() - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
 
getLockRepositoryName() - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
 
getLockTryFrequency() - Method in class io.mongock.driver.core.lock.DefaultLockManager
 
getMessage() - Method in exception io.mongock.driver.core.lock.LockPersistenceException
 
getMigrationRepositoryName() - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
 
getMillisUntilRefreshRequired() - Method in class io.mongock.driver.core.lock.DefaultLockManager
 
getNewLockEntity() - Method in exception io.mongock.driver.core.lock.LockPersistenceException
 
getOwner() - Method in class io.mongock.driver.core.lock.DefaultLockManager
 
getOwner() - Method in class io.mongock.driver.core.lock.LockEntry
 
getStatus() - Method in class io.mongock.driver.core.lock.LockEntry
 
getTransactioner() - Method in class io.mongock.driver.core.driver.NonTransactionalConnectionDriverBase
 

I

indexCreation - Variable in class io.mongock.driver.core.driver.ConnectionDriverBase
 
initialize() - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
 
initialize() - Method in class io.mongock.driver.core.lock.DefaultLockManager
idempotent operation that - Starts the acquisition timer - Initializes and run the lock daemon.
initialized - Variable in class io.mongock.driver.core.driver.ConnectionDriverBase
 
insertUpdate(LockEntry) - Method in interface io.mongock.driver.core.lock.LockRepository
a) If there is an existing lock in the database for the same key and owner (existingLock.key==newLock.key && existingLoc.owner==newLock.owner), then the lock in database is updated/refreshed with the new values.
io.mongock.driver.core.driver - package io.mongock.driver.core.driver
 
io.mongock.driver.core.entry - package io.mongock.driver.core.entry
 
io.mongock.driver.core.lock - package io.mongock.driver.core.lock
 
isIndexCreation() - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
 
isInitialized() - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
 
isLockHeld() - Method in class io.mongock.driver.core.lock.DefaultLockManager
 
isOwner(String) - Method in class io.mongock.driver.core.lock.LockEntry
 

K

KEY_FIELD - Static variable in class io.mongock.driver.core.lock.LockEntry
 

L

lockAcquiredForMillis - Variable in class io.mongock.driver.core.driver.ConnectionDriverBase
 
LockDaemon - Class in io.mongock.driver.core.lock
 
LockDaemon(LockManager) - Constructor for class io.mongock.driver.core.lock.LockDaemon
 
LockEntry - Class in io.mongock.driver.core.lock
Type: entity class.
LockEntry(String, String, String, Date) - Constructor for class io.mongock.driver.core.lock.LockEntry
 
lockManager - Variable in class io.mongock.driver.core.driver.ConnectionDriverBase
 
LockPersistenceException - Exception in io.mongock.driver.core.lock
 
LockPersistenceException(String, String, String) - Constructor for exception io.mongock.driver.core.lock.LockPersistenceException
 
lockQuitTryingAfterMillis - Variable in class io.mongock.driver.core.driver.ConnectionDriverBase
 
LockRepository - Interface in io.mongock.driver.core.lock
Repository interface to manage lock in database, which will be used by LockManager
lockRepositoryName - Variable in class io.mongock.driver.core.driver.ConnectionDriverBase
 
LockRepositoryWithEntity<ENTITY_CLASS> - Interface in io.mongock.driver.core.lock
 
LockStatus - Enum in io.mongock.driver.core.lock
 
lockTryFrequencyMillis - Variable in class io.mongock.driver.core.driver.ConnectionDriverBase
 

M

migrationRepositoryName - Variable in class io.mongock.driver.core.driver.ConnectionDriverBase
 

N

NonTransactionalConnectionDriverBase - Class in io.mongock.driver.core.driver
 
NonTransactionalConnectionDriverBase(long, long, long) - Constructor for class io.mongock.driver.core.driver.NonTransactionalConnectionDriverBase
 

O

OWNER_FIELD - Static variable in class io.mongock.driver.core.lock.LockEntry
 

R

releaseLockDefault() - Method in class io.mongock.driver.core.lock.DefaultLockManager
Release the default lock when is acquired by the current LockChecker.
removeByKeyAndOwner(String, String) - Method in interface io.mongock.driver.core.lock.LockRepository
Removes from database all the locks with the same key(only can be one) and owner
removeDependencyIfAssignableFrom(Set<ChangeSetDependency>, Class<?>) - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
 
run() - Method in class io.mongock.driver.core.lock.LockDaemon
 

S

setChangeLogRepositoryName(String) - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
Deprecated.
setIndexCreation(boolean) - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
 
setLockAcquiredForMillis(long) - Method in class io.mongock.driver.core.lock.DefaultLockManager.DefaultLockManagerBuilder
Indicates the number of milliseconds the lock will be acquired for
setLockQuitTryingAfterMillis(long) - Method in class io.mongock.driver.core.lock.DefaultLockManager.DefaultLockManagerBuilder
If the flag 'waitForLog' is set, indicates the maximum time it will wait for the lock in total.
setLockRepository(LockRepository) - Method in class io.mongock.driver.core.lock.DefaultLockManager.DefaultLockManagerBuilder
 
setLockRepositoryName(String) - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
 
setLockTryFrequencyMillis(long) - Method in class io.mongock.driver.core.lock.DefaultLockManager.DefaultLockManagerBuilder
Updates the maximum number of tries to acquire the lock, if the flag 'waitForLog' is set
setMigrationRepositoryName(String) - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
 
setTimeUtils(TimeService) - Method in class io.mongock.driver.core.lock.DefaultLockManager.DefaultLockManagerBuilder
 
specificInitialization() - Method in class io.mongock.driver.core.driver.ConnectionDriverBase
 
STATUS_FIELD - Static variable in class io.mongock.driver.core.lock.LockEntry
 

T

toString() - Method in class io.mongock.driver.core.lock.LockEntry
 
toString() - Method in exception io.mongock.driver.core.lock.LockPersistenceException
 
TransactionalConnectionDriverBase - Class in io.mongock.driver.core.driver
 
TransactionalConnectionDriverBase(long, long, long) - Constructor for class io.mongock.driver.core.driver.TransactionalConnectionDriverBase
 
transactionEnabled - Variable in class io.mongock.driver.core.driver.TransactionalConnectionDriverBase
 

U

updateIfSameOwner(LockEntry) - Method in interface io.mongock.driver.core.lock.LockRepository
The only goal of this method is to update(mainly to extend the expiry date) the lock in case is already owned.

V

valueOf(String) - Static method in enum io.mongock.driver.core.lock.LockStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.mongock.driver.core.lock.LockStatus
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G I K L M N O R S T U V 
Skip navigation links

Copyright © 2022. All rights reserved.