CursorRuntimeMBean
, javax.management.DynamicMBean
, javax.management.MBeanRegistration
, MessageCursorRuntimeMBean
, javax.management.NotificationBroadcaster
, RuntimeMBean
, WebLogicMBean
JMSRemoteEndpointRuntimeMBean
, SAFRemoteEndpointRuntimeMBean
, WSRMRemoteEndpointRuntimeMBean
public interface SAFMessageCursorRuntimeMBean extends MessageCursorRuntimeMBean
Modifier and Type | Method | Description |
---|---|---|
java.lang.Long |
sort(java.lang.String cursorHandle,
java.lang.Long start,
java.lang.String[] fields,
java.lang.Boolean[] ascending) |
Sorts the entire message result set managed by the cursor
according to the SAF header attributes specified.
|
closeCursor, getCursorEndPosition, getCursorSize, getCursorStartPosition, getItems, getNext, getPrevious
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preRegister
getMessage, getMessage
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, removePropertyChangeListener
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
java.lang.Long sort(java.lang.String cursorHandle, java.lang.Long start, java.lang.String[] fields, java.lang.Boolean[] ascending) throws ManagementException
Sorts the entire message result set managed by the cursor according to the SAF header attributes specified. The cursor position is set to the new position of the message corresponding to the "start" location before the sort is performed. The method returns the new cursor position.
cursorHandle
- The handle of the cursor on which to perform the sort operationstart
- The location of the message before the sort that will be the first message returned after the sort. A value of -1 will place the cursor start position at the head of the new sort order.fields
- The SAF header attributes on which to sort.ascending
- Determines whether the sort of the corresponding fields element is in ascending or descending order.ManagementException
- Thrown when an internal error occurs while processing the request.