public interface Lockable
SchematicDb which has the ability to lock.| Modifier and Type | Method and Description |
|---|---|
boolean |
lockForWriting(List<String> locks)
Locks a list of keys exclusively, for writing.
|
default boolean |
lockForWriting(String... locks) |
boolean lockForWriting(List<String> locks)
locks - a list of lockstrue if the operation was successful and the locks were obtained, false otherwisedefault boolean lockForWriting(String... locks)
lockForWriting(List)Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.