public class LegacyRuntimeManagerLockStrategy extends Object implements RuntimeManagerLockStrategy
Modifier and Type | Field and Description |
---|---|
protected ConcurrentMap<Long,RuntimeManagerLock> |
engineLocks |
Constructor and Description |
---|
LegacyRuntimeManagerLockStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
init(RuntimeManagerLockFactory factory) |
void |
lock(Long id,
org.kie.api.runtime.manager.RuntimeEngine runtime) |
void |
unlock(Long id,
org.kie.api.runtime.manager.RuntimeEngine runtime) |
protected ConcurrentMap<Long,RuntimeManagerLock> engineLocks
public void init(RuntimeManagerLockFactory factory)
init
in interface RuntimeManagerLockStrategy
public void lock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)
lock
in interface RuntimeManagerLockStrategy
public void unlock(Long id, org.kie.api.runtime.manager.RuntimeEngine runtime)
unlock
in interface RuntimeManagerLockStrategy
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.