mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
added a cache to the IdentityManager, changed its signature, modified when and where the author is stored
made the author creation single-threaded again in the LifecycleManager, removed redundant code
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package org.briarproject.api.db;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import org.briarproject.api.crypto.SecretKey;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
public interface DatabaseConfig {
|
||||
|
||||
boolean databaseExists();
|
||||
@@ -14,5 +14,9 @@ public interface DatabaseConfig {
|
||||
|
||||
SecretKey getEncryptionKey();
|
||||
|
||||
void setAuthorNick(String nickName);
|
||||
|
||||
String getAuthorNick();
|
||||
|
||||
long getMaxSize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user