ASOperations Parameters
After ASOperations initializes, the following options are displayed, which allow you to perform actions on the space or metaspace:
| Parameters | Description | 
|---|---|
| b | begin transaction | 
| c | commit transaction | 
| r | rollback transaction | 
| s | Displays the number of entries in the space. | 
| br | Displays the entries in the space. If no filter is specified, all entries in the space will be displayed. | 
| p | put a tuple into a space | 
| pm | put a list of tuples into a space | 
| cp | do a compare and put of a tuple into a space | 
| g | get a tuple from a space | 
| t | take a tuple from a space | 
| l | lock a tuple in a space | 
| u | unlock a tuple in a space | 
| q | exit the example | 
Some options prompt you for a key. The key is an integer value.
You might also be prompted for a value. A value is a string. When prompted for a value, if you press Return instead of entering a string, the value is considered null. For example, the following key/value pairs are valid:
ASOperations with Shared-Nothing Persistence
See Shared-Nothing Persistence for detailed information on how to run ASOperations using the built-in shared-nothing persistence feature.
Copyright © Cloud Software Group, Inc. All rights reserved.
