All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.whispersystems.signalservice.api.SignalSessionLock Maven / Gradle / Ivy

There is a newer version: 2.15.3_unofficial_107
Show newest version
package org.whispersystems.signalservice.api;

import java.io.Closeable;

/**
 * An interface to allow the injection of a lock that will be used to keep interactions with
 * ecryptions/decryptions thread-safe.
 */
public interface SignalSessionLock {

  Lock acquire();

  interface Lock extends Closeable {
    @Override
    void close();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy