org.jsimpledb.kv.mvcc.LockOwner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsimpledb-kv Show documentation
Show all versions of jsimpledb-kv Show documentation
JSimpleDB classes relating to the key/value store API.
The newest version!
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package org.jsimpledb.kv.mvcc;
import java.util.HashSet;
/**
* Represents the owner of a {@link Lock} managed by a {@link LockManager}.
*
*
* Each instance of this class represents a separate lock owner.
*
* @see LockManager
*/
public final class LockOwner {
final HashSet locks = new HashSet<>();
/**
* Constructor.
*/
public LockOwner() {
}
}