public interface InitializationLockDao
extends java.io.Serializable
InitializationLockHandler.| Modifier and Type | Method and Description |
|---|---|
void |
createTable()
Optionally creates table.
|
long |
getUniqueInstanceIdentifier()
Identifier specific for running platform.
|
boolean |
insertRow()
Optionally inserts lock row.
|
boolean |
lockRow(Tenant forTenant,
java.lang.String processName)
Locks row using cluster node ID from given tenant.
|
InitializationLockInfo |
readLockInfo()
Reads current locking information.
|
boolean |
releaseRow(Tenant forTenant)
Releases existing lock.
|
InitializationLockInfo readLockInfo()
null if no lock row or table exists, the info object otherwiseboolean releaseRow(Tenant forTenant)
boolean lockRow(Tenant forTenant, java.lang.String processName)
boolean insertRow()
true if row could be inserted or row already exists, false on other errors (e.g.
table not existing)void createTable()
long getUniqueInstanceIdentifier()
Copyright © 2018 SAP SE. All Rights Reserved.