use of com.b2international.snowowl.core.internal.locks.Slf4jOperationLockTargetListener in project snow-owl by b2ihealthcare.
the class DatastoreLockTests method setup.
@Before
public void setup() {
final ObjectMapper mapper = JsonSupport.getDefaultObjectMapper();
final Index index = Indexes.createIndex("locks", mapper, new Mappings(DatastoreLockIndexEntry.class));
manager = new DefaultOperationLockManager(index);
manager.addLockTargetListener(new Slf4jOperationLockTargetListener());
manager.unlockAll();
}
Aggregations