Skip navigation links
A C D E F G I L P Q R S T U W 

A

add(String) - Method in interface ch.cern.dirq.Queue
Add String data to the queue.
add(byte[]) - Method in interface ch.cern.dirq.Queue
Add byte array data to the queue.
add(String) - Method in class ch.cern.dirq.QueueNull
 
add(byte[]) - Method in class ch.cern.dirq.QueueNull
 
add(String) - Method in class ch.cern.dirq.QueueSimple
 
add(byte[]) - Method in class ch.cern.dirq.QueueSimple
 
addPath(String) - Method in interface ch.cern.dirq.Queue
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.
addPath(String) - Method in class ch.cern.dirq.QueueNull
 
addPath(String) - Method in class ch.cern.dirq.QueueSimple
 

C

ch.cern.dirq - package ch.cern.dirq
Directory based queue.
count() - Method in interface ch.cern.dirq.Queue
Return the number of elements in the queue.
count() - Method in class ch.cern.dirq.QueueNull
 
count() - Method in class ch.cern.dirq.QueueSimple
 

D

DIRECTORY_REGEXP - Static variable in class ch.cern.dirq.QueueSimple
 

E

ELEMENT_REGEXP - Static variable in class ch.cern.dirq.QueueSimple
 

F

fileAttributesFromInteger(int) - Static method in class ch.cern.dirq.FileUtils
Create NIO file attributes from numerical POSIX permissions.
fileKey(File) - Static method in class ch.cern.dirq.FileUtils
Return a unique string identifying the given file object.
fileKey(String) - Static method in class ch.cern.dirq.FileUtils
Return a unique string identifying the given path string.
fileKey(Path) - Static method in class ch.cern.dirq.FileUtils
Return a unique string identifying the given path object.
FileUtils - Class in ch.cern.dirq
Convenient file related utilities.

G

get(String) - Method in interface ch.cern.dirq.Queue
Get the given locked element as String data.
get(String) - Method in class ch.cern.dirq.QueueNull
 
get(String) - Method in class ch.cern.dirq.QueueSimple
 
getAsByteArray(String) - Method in interface ch.cern.dirq.Queue
Get the given locked element as byte array data.
getAsByteArray(String) - Method in class ch.cern.dirq.QueueNull
 
getAsByteArray(String) - Method in class ch.cern.dirq.QueueSimple
 
getGranularity() - Method in class ch.cern.dirq.QueueSimple
Get the granularity.
getId() - Method in interface ch.cern.dirq.Queue
Return a unique identifier for the queue.
getId() - Method in class ch.cern.dirq.QueueNull
 
getId() - Method in class ch.cern.dirq.QueueSimple
 
getMaxLock() - Method in class ch.cern.dirq.QueueSimple
Get the default maxLock for purge().
getMaxTemp() - Method in class ch.cern.dirq.QueueSimple
Get the default maxTemp for purge().
getPath(String) - Method in interface ch.cern.dirq.Queue
Get the path of the given locked element.
getPath(String) - Method in class ch.cern.dirq.QueueNull
 
getPath(String) - Method in class ch.cern.dirq.QueueSimple
 
getQueuePath() - Method in interface ch.cern.dirq.Queue
Return the path of the queue.
getQueuePath() - Method in class ch.cern.dirq.QueueNull
 
getQueuePath() - Method in class ch.cern.dirq.QueueSimple
 
getRndHex() - Method in class ch.cern.dirq.QueueSimple
Get the random hexadecimal digit.
getUmask() - Method in class ch.cern.dirq.QueueSimple
Get the umask.

I

iterator() - Method in class ch.cern.dirq.QueueNull
Iterator for the null directory queue.
iterator() - Method in class ch.cern.dirq.QueueSimple
Iterator for the simple directory queue.

L

lock(String) - Method in interface ch.cern.dirq.Queue
Lock an element in permissive mode.
lock(String, boolean) - Method in interface ch.cern.dirq.Queue
Lock an element.
lock(String) - Method in class ch.cern.dirq.QueueNull
 
lock(String, boolean) - Method in class ch.cern.dirq.QueueNull
 
lock(String) - Method in class ch.cern.dirq.QueueSimple
 
lock(String, boolean) - Method in class ch.cern.dirq.QueueSimple
 
LOCKED_SUFFIX - Static variable in class ch.cern.dirq.QueueSimple
 

P

posixPermissionsFromInteger(int) - Static method in class ch.cern.dirq.FileUtils
Create NIO POSIX file permissions from numerical POSIX permissions.
purge() - Method in interface ch.cern.dirq.Queue
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.
purge(int) - Method in interface ch.cern.dirq.Queue
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.
purge(int, int) - Method in interface ch.cern.dirq.Queue
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.
purge() - Method in class ch.cern.dirq.QueueNull
 
purge(int) - Method in class ch.cern.dirq.QueueNull
 
purge(int, int) - Method in class ch.cern.dirq.QueueNull
 
purge() - Method in class ch.cern.dirq.QueueSimple
 
purge(int) - Method in class ch.cern.dirq.QueueSimple
 
purge(int, int) - Method in class ch.cern.dirq.QueueSimple
 

Q

Queue - Interface in ch.cern.dirq
Queue - object oriented interface to a directory based queue.
QueueNull - Class in ch.cern.dirq
QueueNull - object oriented interface to a null directory based queue.
QueueNull() - Constructor for class ch.cern.dirq.QueueNull
Constructor for the null directory queue.
QueueSimple - Class in ch.cern.dirq
QueueSimple - object oriented interface to a simple directory based queue.
QueueSimple(String) - Constructor for class ch.cern.dirq.QueueSimple
Constructor creating a simple directory queue from the given path.
QueueSimple(String, int) - Constructor for class ch.cern.dirq.QueueSimple
Constructor creating a simple directory queue from the given path and umask.

R

readToByteArray(File) - Static method in class ch.cern.dirq.FileUtils
Read all the bytes from a file object.
readToByteArray(String) - Static method in class ch.cern.dirq.FileUtils
Read all the bytes from a path string.
readToByteArray(Path) - Static method in class ch.cern.dirq.FileUtils
Read all the bytes from a path object.
readToString(File) - Static method in class ch.cern.dirq.FileUtils
Read a UTF-8 string from a file object.
readToString(String) - Static method in class ch.cern.dirq.FileUtils
Read a UTF-8 string from a path string.
readToString(Path) - Static method in class ch.cern.dirq.FileUtils
Read a UTF-8 string from a path object.
recursiveDelete(File) - Static method in class ch.cern.dirq.FileUtils
Recursively delete the given path, stopping on the first error.
remove(String) - Method in interface ch.cern.dirq.Queue
Remove a locked element from the queue.
remove(String) - Method in class ch.cern.dirq.QueueNull
 
remove(String) - Method in class ch.cern.dirq.QueueSimple
 

S

S_IRGRP - Static variable in class ch.cern.dirq.FileUtils
 
S_IROTH - Static variable in class ch.cern.dirq.FileUtils
 
S_IRUSR - Static variable in class ch.cern.dirq.FileUtils
 
S_IRWXG - Static variable in class ch.cern.dirq.FileUtils
 
S_IRWXO - Static variable in class ch.cern.dirq.FileUtils
 
S_IRWXU - Static variable in class ch.cern.dirq.FileUtils
 
S_IWGRP - Static variable in class ch.cern.dirq.FileUtils
 
S_IWOTH - Static variable in class ch.cern.dirq.FileUtils
 
S_IWUSR - Static variable in class ch.cern.dirq.FileUtils
 
S_IXGRP - Static variable in class ch.cern.dirq.FileUtils
 
S_IXOTH - Static variable in class ch.cern.dirq.FileUtils
 
S_IXUSR - Static variable in class ch.cern.dirq.FileUtils
 
setGranularity(int) - Method in class ch.cern.dirq.QueueSimple
Set the granularity.
setMaxLock(int) - Method in class ch.cern.dirq.QueueSimple
Set the default maxLock for purge().
setMaxTemp(int) - Method in class ch.cern.dirq.QueueSimple
Set the default maxTemp for purge().
setRndHex(int) - Method in class ch.cern.dirq.QueueSimple
Set the random hexadecimal digit.
setUmask(int) - Method in class ch.cern.dirq.QueueSimple
Set the umask.

T

TEMPORARY_SUFFIX - Static variable in class ch.cern.dirq.QueueSimple
 

U

unlock(String) - Method in interface ch.cern.dirq.Queue
Unlock an element in non-permissive mode.
unlock(String, boolean) - Method in interface ch.cern.dirq.Queue
Unlock an element.
unlock(String) - Method in class ch.cern.dirq.QueueNull
 
unlock(String, boolean) - Method in class ch.cern.dirq.QueueNull
 
unlock(String) - Method in class ch.cern.dirq.QueueSimple
 
unlock(String, boolean) - Method in class ch.cern.dirq.QueueSimple
 

W

writeToFile(File, String) - Static method in class ch.cern.dirq.FileUtils
Write a UTF-8 string to a file object.
writeToFile(String, String) - Static method in class ch.cern.dirq.FileUtils
Write a UTF-8 string to a path string.
writeToFile(Path, String) - Static method in class ch.cern.dirq.FileUtils
Write a UTF-8 string to a path object.
writeToFile(File, byte[]) - Static method in class ch.cern.dirq.FileUtils
Write bytes to a file object.
writeToFile(String, byte[]) - Static method in class ch.cern.dirq.FileUtils
Write bytes to a path string.
writeToFile(Path, byte[]) - Static method in class ch.cern.dirq.FileUtils
Write bytes to a path object.
A C D E F G I L P Q R S T U W 
Skip navigation links

Copyright © 2019. All Rights Reserved.