mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
BdfList and BdfDictionary are no longer thread-safe, they require external locking. Metadata (which is the class that will be passed across API boundaries) is still thread-safe.
12 lines
243 B
Java
12 lines
243 B
Java
package org.briarproject.api.db;
|
|
|
|
import java.util.Hashtable;
|
|
|
|
public class Metadata extends Hashtable<String, byte[]> {
|
|
|
|
/**
|
|
* Special value to indicate that a key is being removed.
|
|
*/
|
|
public static final byte[] REMOVE = new byte[0];
|
|
}
|