|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthenticatorStore<Identifier>
Witnesses use instances of this class to store authenticators. Typically there are three instances: authInStore, authPendingStore and authOutStore. The former two contain authenticators about nodes for which the local node is a witness, while the latter contains authenticators about other nodes which haven't been sent to the corresponding witness sets yet.
Method Detail |
---|
void setFilename(java.io.File file) throws java.io.IOException
java.io.IOException
Authenticator getMostRecentAuthenticator(Identifier id)
Authenticator getOldestAuthenticator(Identifier id)
Authenticator getLastAuthenticatorBefore(Identifier id, long seq)
void disableMemoryBuffer()
void addAuthenticator(Identifier id, Authenticator authenticator)
id
- authenticator
-
java.io.IOException
void garbageCollect() throws java.io.IOException
java.io.IOException
int numAuthenticatorsFor(Identifier id)
int numAuthenticatorsFor(Identifier id, long minseq, long maxseq)
void flushAuthenticatorsFor(Identifier id, long minseq, long maxseq)
void flushAuthenticatorsFor(Identifier id)
Authenticator statAuthenticator(Identifier id, long seq)
java.util.List<Authenticator> getAuthenticators(Identifier id, long minseq, long maxseq)
java.util.List<Authenticator> getAuthenticators(Identifier id)
java.util.List<Identifier> getSubjects()
int getNumSubjects()
int getAuthenticatorSizeBytes()
void flush(Identifier id)
void flushAll()
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |