Package org.jumpmind.symmetric.service
Interface IClusterService
- All Known Implementing Classes:
ClusterService
public interface IClusterService
Service API that is responsible for acquiring distributed locks for clustered SymmetricDS nodes.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
aquireInfiniteLock
(String action) void
void
clearInfiniteLock
(String action) void
init()
boolean
boolean
isInfiniteLocked
(String action) boolean
boolean
boolean
boolean
void
boolean
refreshLock
(String action) void
void
removeLock
(String action) void
void
-
Method Details
-
init
void init() -
refreshLockEntries
void refreshLockEntries() -
lock
-
refreshLock
-
lock
-
lock
-
unlock
-
unlock
-
clearAllLocks
void clearAllLocks() -
addLock
-
removeLock
-
getServerId
String getServerId() -
isClusteringEnabled
boolean isClusteringEnabled() -
findLocks
-
aquireInfiniteLock
-
clearInfiniteLock
-
isInfiniteLocked
-
isLocked
-
persistToTableForSnapshot
void persistToTableForSnapshot() -
getInstanceId
String getInstanceId()
-