A C D E F G H I J L M N O P Q R S T U V W

A

adjustForFieldOrder(int, boolean) - Method in class JSort
If the sort order is ascending, this method will return the same boolean that was passed to it, otherwise it returns the opposite.
aiFieldLength - Variable in class JSortJob
 
aiFieldOrder - Variable in class JSortJob
 
aiFieldStart - Variable in class JSortJob
 
allocateBuffers(JSortJob, Hashtable) - Method in class JSort
 
ASCENDING - Static variable in interface JSortInterface
 
ASCENDING_VALUE - Static variable in interface JSortInterface
 

C

close(Hashtable) - Method in class JSort
 
close(Hashtable) - Method in interface JSortInterface
 
curr_item - Variable in class JSortJob
 
curr_rpage - Variable in class JSortJob
 

D

DATA_TAG - Static variable in interface JSortInterface
 
DEBUG_TAG - Static variable in interface JSortInterface
 
debugfilename - Variable in class JSortJob
 
DESCENDING - Static variable in interface JSortInterface
 
DESCENDING_VALUE - Static variable in interface JSortInterface
 

E

EOF_TAG - Static variable in interface JSortInterface
 
error - Variable in class JSortJob
 
exchange(JSortJob, long, long, byte[]) - Method in class JSort
This is called by quickSort() to exchange two sort item records.

F

FIELD_TAG - Static variable in interface JSortInterface
 
filecreated - Variable in class JSortJob
 
findService(String) - Method in class JSortClient
This finds the JSort service using Jini's lookup service.

G

getItem(JSortJob, long) - Method in class JSortItem
This method assumes that the virtual page that contains the requested item is already in memory.
getNextJobName() - Method in class JSort
 

H

HALFSEG - Static variable in class JSort
Maximum value of 2 bytes signed.
htSortJobs - Variable in class JSort
key = "sortjob3", v = JSortJob object.

I

iDebug - Variable in class JSortJob
 
iItemOffset - Variable in class JSortItem
Byte offset of the beginning of the item.
INIT_CHAR - Static variable in interface JSortInterface
 
initPage(byte[]) - Method in class JSort
 
iRealPageNumber - Variable in class JSortItem
Real page number (0 based).
iRecLength - Variable in class JSortClient
 
itemlgth - Variable in class JSortJob
 
items_pr_page - Variable in class JSortJob
 

J

JOB_NAME_TAG - Static variable in interface JSortInterface
 
JOBID_TAG - Static variable in interface JSortInterface
 
jSort - Variable in class JSortClient
 
JSort - class JSort.
JSort (Jini Sort) This is a Jini service that performs a virtual sort of fixed length strings based on sort fields within the string.
JSort() - Constructor for class JSort
 
JSortClient - class JSortClient.
JSortClient -- JSort Example Client
JSortClient() - Constructor for class JSortClient
 
JSortInterface - interface JSortInterface.
JSortInterface This interface defines the public methods for JSort.
JSortItem - class JSortItem.
JSortItem This object is the Java equivalent to a pointer to a sort item in a memory page.
JSortItem() - Constructor for class JSortItem
 
JSortJob - class JSortJob.
JSortJob This object holds all information related to a particular sort job.
JSortJob() - Constructor for class JSortJob
 

L

less(JSortJob, byte[], JSortItem) - Method in class JSort
This compares two byte array items according to the sort fields for the job.
less(JSortJob, JSortItem, byte[]) - Method in class JSort
This compares two byte array items according to the sort fields for the job.
LONGLGTH - Static variable in class JSort
Maximum value of a signed int.

M

main(String[]) - Static method in class JSort
 
main(String[]) - Static method in class JSortClient
 
MAXRPAGES - Static variable in class JSort
The maximum number of real pages.
MAXSTACK - Static variable in class JSort
Used in quickSort() for a local stack.
msTimeOpened - Variable in class JSortJob
 

N

NOTE_TAG - Static variable in interface JSortInterface
 
num_items - Variable in class JSortJob
 
num_leftovr_items - Variable in class JSortJob
 
num_rpages - Variable in class JSortJob
 
num_vpages - Variable in class JSortJob
 

O

open(Hashtable) - Method in class JSort
 
open(Hashtable) - Method in interface JSortInterface
 
ORDER_TAG - Static variable in interface JSortInterface
 

P

pageIn(JSortJob, long, long, long) - Method in class JSort
After calling this function the page that contains the requested item_num is in memory.
pageOut(JSortJob, byte[], int) - Method in class JSort
Write the virtual page in the passed real memory location to the file.

Q

quickSort(JSortJob, byte[], byte[]) - Method in class JSort
This is a non-recursive version of the quicksort algorithm as given in Nicklaus Wirth ALGORITHMS + DATA STRUCTURES = PROGRAMS.

R

rafDebug - Variable in class JSortJob
 
REC_LENGTH_TAG - Static variable in interface JSortInterface
 
register(String, ServiceIDListener) - Method in class JSort
 
releaseBlock(String, byte[]) - Method in class JSort
This processes a block of sort items, one item at a time.
releaseBlock(String, byte[]) - Method in interface JSortInterface
 
releaseRecord(Hashtable) - Method in class JSort
This function copies a record from the passed parameter hashtable into the virtual sort system.
releaseRecord(Hashtable) - Method in interface JSortInterface
 
releaseRecordsToSort(boolean) - Method in class JSortClient
This creates records then releases them to sort and invokes the sort.
RETURN_TAG - Static variable in interface JSortInterface
 
returnBlock(String, int) - Method in class JSort
This accepts the number of requested sort items and returns a byte array that consists of the requested number of sort items.
returnBlock(String, int) - Method in interface JSortInterface
 
returnRecord(Hashtable) - Method in class JSort
This finds the current sort output item and returns it to the caller.
returnRecord(Hashtable) - Method in interface JSortInterface
 
returnRecordsFromSort(String, boolean) - Method in class JSortClient
This returns all the records from the sort service.
rewind(Hashtable) - Method in class JSort
This resets the current item counter to 0 which allows returnRec to start over at the beginning of the sort work file.
rewind(Hashtable) - Method in interface JSortInterface
 
rpage_modified - Variable in class JSortJob
 
rpage_ptr - Variable in class JSortJob
 

S

savez - Variable in class JSortJob
 
sCRLF - Static variable in interface JSortInterface
 
sect_pr_page - Variable in class JSortJob
 
SECTSIZE - Static variable in class JSort
Sector size for block reads and writes.
SEGLGTH - Static variable in class JSort
Maximum value of 2 bytes unsigned.
serviceIDNotify(ServiceID) - Method in class JSort
 
sJobName - Variable in class JSortJob
 
SORT_JOB_TAG - Static variable in interface JSortInterface
 
sort(Hashtable) - Method in class JSort
 
sort(Hashtable) - Method in interface JSortInterface
 
sortwkfile - Variable in class JSortJob
 
sortwkfilename - Variable in class JSortJob
 
SUCCESS_VALUE - Static variable in interface JSortInterface
 
swoppost - Variable in class JSortJob
 

T

test() - Method in class JSort
 
toString() - Method in class JSortItem
 
toString() - Method in class JSortJob
 

U

USERSTACK - Static variable in class JSort
Heap reserved for user stack.

V

vpage_num - Variable in class JSortJob
 

W

writeDebug(JSortJob, String) - Method in class JSort
 

A C D E F G H I J L M N O P Q R S T U V W