|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Lock | |
uk.ac.vamsas.client.simpleclient | |
uk.ac.vamsas.test.simpleclient |
Uses of Lock in uk.ac.vamsas.client.simpleclient |
Subclasses of Lock in uk.ac.vamsas.client.simpleclient | |
class |
FileLock
File based Locking mechanism to get around some bizarre limitations of JarEntry seeking. |
class |
NativeLock
|
Fields in uk.ac.vamsas.client.simpleclient declared as Lock | |
protected Lock |
SessionFile.fileLock
|
Methods in uk.ac.vamsas.client.simpleclient that return Lock | |
protected Lock |
EventGeneratorThread.want_to_store()
client App requests offline storage of vamsas data. |
Lock |
FileWatcher.getChangedState()
passes lock back to caller if hasChanged returned true. |
static Lock |
LockFactory.getLock(java.io.File target)
lock target (blocks until lock is obtained) |
static Lock |
LockFactory.getLock(java.io.File target,
boolean block)
|
static Lock |
LockFactory.tryLock(java.io.File target)
try to lock target |
protected Lock |
SimpleClient.getClientLock()
|
Lock |
VamsasFile.getLock()
public interface for getting a lock. |
Lock |
VamsasFile.getLock(Lock extantLock)
|
Methods in uk.ac.vamsas.client.simpleclient with parameters of type Lock | |
ClientHandle[] |
ClientsFile.retrieveClientList(Lock extantlock)
get list from the locked ClientList. |
int |
ClientsFile.addClient(ClientHandle me,
Lock extantLock)
adds clientHandle me to the clientList under an existing lock extantLock. |
int |
ClientsFile.addClient(ClientHandle me,
boolean disambig,
Lock extantLock)
adds clientHandle me to the clientList under an existing lock. |
void |
ClientsFile.removeClient(ClientHandle me,
Lock clientlock)
removes 'me' from the session ClientList without complaint if 'me' isn't in the clientList already. |
protected boolean |
EventGeneratorThread.storeDocRequest(Lock lock)
|
protected boolean |
EventGeneratorThread.documentChanged(Lock doclock)
|
protected boolean |
SessionFile.lockFile(Lock extantlock)
|
protected java.io.File |
SessionFile.backupSessionFile(Lock extantLock,
java.lang.String backupPrefix,
java.lang.String backupSuffix,
java.io.File backupDir)
|
protected void |
SessionFile.updateFrom(Lock extantLock,
SessionFile newData)
Replaces data in sessionFile with data from file handled by another sessionFile passes up any exceptions. |
SessionHandle[] |
SessionsFile.retrieveSessionsList(Lock extantlock)
get list from the locked SessionsList. |
int |
SessionsFile.addSession(SessionHandle newSession,
Lock extantLock)
adds SessionHandle me to the sessionList under an existing lock extantLock. |
int |
SessionsFile.addSession(SessionHandle newSession,
boolean disambig,
Lock extantLock)
adds SessionsHandle me to the sessionsList under an existing lock. |
void |
SessionsFile.removeSession(SessionHandle session,
Lock sessionlock)
removes the current session from the SessionsList without complaint if the session isn't in the sessionsList already. |
Lock |
VamsasFile.getLock(Lock extantLock)
|
protected void |
VamsasSession.writeVamsasDocument(java.io.File destarchive,
Lock extlock)
write session as a new vamsas Document (this will overwrite any existing file without warning) TODO: test TODO: verify that lock should be released for vamsas document. |
boolean |
WatcherCallBack.handleWatchEvent(WatcherElement watcher,
Lock lock)
|
protected void |
WatcherElement.callHandler(Lock doclock)
Calls the current eventhandler |
Constructors in uk.ac.vamsas.client.simpleclient with parameters of type Lock | |
VamsasArchiveReader(Lock vamsaslock)
in an ideal world - this constructor will create a reader object for the locked file's random access stream. |
Uses of Lock in uk.ac.vamsas.test.simpleclient |
Methods in uk.ac.vamsas.test.simpleclient with parameters of type Lock | |
ClientDoc |
ArchiveClient.getUpdateable(Lock lock)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |