com.holonplatform.core.query.lock

## Interface LockQueryAdapter<C extends QueryConfiguration>

- All Superinterfaces:
    QueryAdapter<C>

      public interface LockQueryAdapter<C extends QueryConfiguration>
      extends QueryAdapter<C>

  Adapter to perform a `LockQuery` `tryLock` operation using the provided `QueryConfiguration`.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `tryLock(QueryConfiguration queryConfiguration)` Try to perform the operation using the lock mode and timeout provided by given query configuration.

    - ### Methods inherited from interface com.holonplatform.core.query.QueryAdapter

      `stream`

- - ### Method Detail

    - #### tryLock

          boolean tryLock(QueryConfiguration queryConfiguration)

      Try to perform the operation using the lock mode and timeout provided by given query configuration.
      Parameters:
        `queryConfiguration` - Query configuration
      Returns:
        `true` if the lock is successfully acquired, `false` otherwise

Copyright © 2019 The Holon Platform. All rights reserved.