ASBatchOperations Parameters

After ASBatchOperations initializes, the following options are displayed from the main loop of the program and allow you to perform actions on the space or metaspace:

Parameters Description
p put all, allows you to enter a sequence of data to be put into the space
pl put all and lock the space entries, same as p option except the space entries are locked.

Locking means the entries cannot be modified but they can still be read. An entry remains locked until it is specifically unlocked.

g get all, allows the user to enter a list of keys for entries to be retrieved from the space, retrieves the entries, then displays the entries.
t take all, allows the user to enter a list of keys for entries to be removed from the space, removes the entries, then displays the removed entries.
l lock all, allows the user to enter a list of keys for entries to be locked in a space, locks the entries, then displays the locked entries.
q exit the program

After each option is performed, a list of suboptions is displayed to continue to allow you to work with your list of entries. Suboptions are provided for all of the main options, except t (take all), because the list of entries that were originally taken from the space no longer exists in the space.

The following suboptions are available to be invoked on the list of space entries generated while invoking the main options:

Suboptions Description
r remove all entries in your list from the space
l lock all entries in your list in the space
u unlock all entries in your list in the space
p put new values for your existing entries by doing a compareAndPutAll()
s Exit the suboptions menu