JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
C
D
E
F
G
I
L
M
R
S
T
U
V
A
acquireLockDefault()
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
DefaultLockManager
Tries to acquire the default lock regardless who is the current owner.
C
ChangeEntryRepository
<
CHANGE_ENTRY
extends
ChangeEntry
,
ENTITY_CLASS
> - Interface in
com.github.cloudyrock.mongock.driver.core.entry
clean()
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
DefaultLockManager
close()
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
DefaultLockManager
release the default lock.
com.github.cloudyrock.mongock.driver.core.common
- package com.github.cloudyrock.mongock.driver.core.common
com.github.cloudyrock.mongock.driver.core.driver
- package com.github.cloudyrock.mongock.driver.core.driver
com.github.cloudyrock.mongock.driver.core.entry
- package com.github.cloudyrock.mongock.driver.core.entry
com.github.cloudyrock.mongock.driver.core.lock
- package com.github.cloudyrock.mongock.driver.core.lock
ConnectionDriverBase
<
CHANGE_ENTRY
extends
ChangeEntry
> - Class in
com.github.cloudyrock.mongock.driver.core.driver
ConnectionDriverBase()
- Constructor for class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
ConnectionDriverBase(long, long, int)
- Constructor for class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
D
DefaultLockManager
- Class in
com.github.cloudyrock.mongock.driver.core.lock
This class is responsible of managing the lock at high level.
DefaultLockManager(LockRepository, TimeService)
- Constructor for class com.github.cloudyrock.mongock.driver.core.lock.
DefaultLockManager
Constructor takes some bean injections
deleteAll()
- Method in interface com.github.cloudyrock.mongock.driver.core.lock.
LockRepository
E
ensureLockDefault()
- Method in class com.github.cloudyrock.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
F
findByKey(String)
- Method in interface com.github.cloudyrock.mongock.driver.core.lock.
LockRepository
Retrieves a lock by key
G
getAcquireLockQuery()
- Method in exception com.github.cloudyrock.mongock.driver.core.lock.
LockPersistenceException
getAndAcquireLockManager()
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
getChangeLogRepositoryName()
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
getDbErrorDetail()
- Method in exception com.github.cloudyrock.mongock.driver.core.lock.
LockPersistenceException
getExpiresAt()
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
LockEntry
getKey()
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
LockEntry
getLockAcquiredForMinutes()
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
getLockManager()
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
getLockMaxTries()
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
DefaultLockManager
getLockRepository()
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
getLockRepositoryName()
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
getMaxTries()
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
getMaxWaitingForLockMinutes()
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
getMessage()
- Method in exception com.github.cloudyrock.mongock.driver.core.lock.
LockPersistenceException
getNewLockEntity()
- Method in exception com.github.cloudyrock.mongock.driver.core.lock.
LockPersistenceException
getOwner()
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
DefaultLockManager
getOwner()
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
LockEntry
getStatus()
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
LockEntry
I
initialize()
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
insertUpdate(LockEntry)
- Method in interface com.github.cloudyrock.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.
isIndexCreation()
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
isInitialized()
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
isLockHeld()
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
DefaultLockManager
isOwner(String)
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
LockEntry
L
LockEntry
- Class in
com.github.cloudyrock.mongock.driver.core.lock
Type: entity class.
LockEntry(String, String, String, Date)
- Constructor for class com.github.cloudyrock.mongock.driver.core.lock.
LockEntry
LockPersistenceException
- Exception in
com.github.cloudyrock.mongock.driver.core.lock
LockPersistenceException(String, String, String)
- Constructor for exception com.github.cloudyrock.mongock.driver.core.lock.
LockPersistenceException
LockRepository
<
ENTITY_CLASS
> - Interface in
com.github.cloudyrock.mongock.driver.core.lock
Repository interface to manage lock in database, which will be used by LockManager
LockStatus
- Enum in
com.github.cloudyrock.mongock.driver.core.lock
M
mapFieldInstances(List<FieldInstance>)
- Method in interface com.github.cloudyrock.mongock.driver.core.common.
Repository
R
releaseLockDefault()
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
DefaultLockManager
Release the default lock when is acquired by the current LockChecker.
removeByKeyAndOwner(String, String)
- Method in interface com.github.cloudyrock.mongock.driver.core.lock.
LockRepository
Removes from database all the locks with the same key(only can be one) and owner
Repository
<
DOMAIN_CLASS
,
ENTITY_CLASS
> - Interface in
com.github.cloudyrock.mongock.driver.core.common
runValidation()
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
S
setChangeLogRepositoryName(String)
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
setIndexCreation(boolean)
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
setLockAcquiredForMillis(long)
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
DefaultLockManager
Indicates the number of milliseconds the lock will be acquired for
setLockAcquiredForMinutes(long)
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
setLockMaxTries(int)
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
DefaultLockManager
Updates the maximum number of tries to acquire the lock, if the flag 'waitForLog' is set
setLockMaxWaitMillis(long)
- Method in class com.github.cloudyrock.mongock.driver.core.lock.
DefaultLockManager
If the flag 'waitForLog' is set, indicates the maximum time it will wait for the lock in each try.
setLockRepositoryName(String)
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
setMaxTries(int)
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
setMaxWaitingForLockMinutes(long)
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
specificInitialization()
- Method in class com.github.cloudyrock.mongock.driver.core.driver.
ConnectionDriverBase
T
toEntity(DOMAIN_CLASS)
- Method in interface com.github.cloudyrock.mongock.driver.core.common.
Repository
Transform a domain object to its persistence representation
toString()
- Method in exception com.github.cloudyrock.mongock.driver.core.lock.
LockPersistenceException
U
updateIfSameOwner(LockEntry)
- Method in interface com.github.cloudyrock.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 com.github.cloudyrock.mongock.driver.core.lock.
LockStatus
Returns the enum constant of this type with the specified name.
values()
- Static method in enum com.github.cloudyrock.mongock.driver.core.lock.
LockStatus
Returns an array containing the constants of this enum type, in the order they are declared.
A
C
D
E
F
G
I
L
M
R
S
T
U
V
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2021. All rights reserved.