| Package | Description |
|---|---|
| ch.cern.dirq |
Directory based queue.
|
| Modifier and Type | Method and Description |
|---|---|
String |
QueueSimple.add(byte[] data) |
abstract String |
Queue.add(byte[] data)
Add data as byte array to the queue.
|
String |
QueueSimple.add(String data) |
abstract String |
Queue.add(String data)
Add data as a string to the queue.
|
String |
QueueSimple.addPath(String path) |
abstract String |
Queue.addPath(String path)
Add the given file (identified by its path) to the queue and return
the corresponding element name, the file must be on the same
filesystem and will be moved to the queue.
|
static int |
LEE.getErrorCode(com.sun.jna.LastErrorException error) |
boolean |
QueueSimple.lock(String name,
boolean permissive) |
void |
Queue.purge()
Purge the queue by removing unused intermediate directories,
removing too old temporary elements and unlocking too old locked
elements (aka staled locks); note: this can take a long time on
queues with many elements.
|
void |
Queue.purge(int maxLock)
Purge the queue by removing unused intermediate directories,
removing too old temporary elements and unlocking too old locked
elements (aka staled locks); note: this can take a long time on
queues with many elements.
|
void |
QueueSimple.purge(int maxTemp,
int maxLock) |
abstract void |
Queue.purge(int maxTemp,
int maxLock)
Purge the queue by removing unused intermediate directories,
removing too old temporary elements and unlocking too old locked
elements (aka staled locks); note: this can take a long time on
queues with many elements.
|
void |
Queue.purge(Map<String,Integer> options)
Purge the queue by removing unused intermediate directories,
removing too old temporary elements and unlocking too old locked
elements (aka staled locks); note: this can take a long time on
queues with many elements.
|
boolean |
QueueSimple.unlock(String name,
boolean permissive) |
| Constructor and Description |
|---|
QueueSimple(String path)
Constructor which takes only the path of the queue and set umask
and granularity to default values.
|
QueueSimple(String path,
int umask)
Constructor which takes the path of the directory queue,
its granularity option and the umask the created folder.
|
QueueSimple(String path,
int umask,
int granularity)
Constructor which takes the path of the directory queue,
its granularity option and the umask the created folder.
|
Copyright © 2012. All Rights Reserved.