# PSEntryCursorRuntimeMBean

Overview | Related MBeans | Attributes | Operations

## Overview

This runtime MBean extends the cursor mbean with write methods, such as delete, update, etc.

Since | 9.0.0.0
Fully Qualified Interface Name | If you use the `getMBeanInfo` operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name: `weblogic.management.runtime.PSEntryCursorRuntimeMBean` For more information, see: CursorRuntimeMBean
Factory Methods | No factory methods. Instances of this MBean are created automatically.
Subtypes | The following MBeans extend or implement this MBean type:
PSAssemblyRuntimeMBean |

## Attributes

This section describes the following attributes:

Name Parent | Type

### Name

The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.

Privileges | Read only
Type | java.lang.String

### Parent

Return the immediate parent for this MBean

Privileges | Read/Write
Type |

### Type

Returns the type of the MBean.

Privileges | Read only
Type | java.lang.String

## Operations

This section describes the following operations:

closeCursor getCursorEndPosition getCursorSize getCursorStartPosition getItems getMember | getNext getPrevious remove update

### closeCursor

Releases the server-side resources associated with the cursor and removes the runtime MBean instance.

Operation Name | `"closeCursor"`
Parameters | `Object [] { cursorHandle }` where: `cursorHandle` is an object of type `java.lang.String` that specifies: The cursor handle.
Signature | `String [] { "java.lang.String" }`
Returns | `Void`
Exceptions | `weblogic.management.ManagementException`

### getCursorEndPosition

Returns the cursor end position in the result set.

Operation Name | `"getCursorEndPosition"`
Parameters | `Object [] { cursorHandle }` where: `cursorHandle` is an object of type `java.lang.String` that specifies: The cursor handle.
Signature | `String [] { "java.lang.String" }`
Returns | `Long`
Exceptions | `weblogic.management.ManagementException`

### getCursorSize

Returns the number of items in the result set.

Operation Name | `"getCursorSize"`
Parameters | `Object [] { cursorHandle }` where: `cursorHandle` is an object of type `java.lang.String` that specifies: The cursor handle.
Signature | `String [] { "java.lang.String" }`
Returns | `Long`
Exceptions | `weblogic.management.ManagementException`

### getCursorStartPosition

Returns the cursor start position in the result set.

Operation Name | `"getCursorStartPosition"`
Parameters | `Object [] { cursorHandle }` where: `cursorHandle` is an object of type `java.lang.String` that specifies: The cursor handle.
Signature | `String [] { "java.lang.String" }`
Returns | `Long`
Exceptions | `weblogic.management.ManagementException`

### getItems

Returns an array of items from the specified cursor location. The new cursor start position will be the location after the old cursor end position. The size of the array returned is determined by the count argument. An array smaller than the "count" value is returned if there are fewer items from the specified start position to the end of the result set. A null value is returned if the size of the return array is zero. In this case, the cursor position will not change.

For more information, see:

- CursorRuntimeMBean

Operation Name | `"getItems"`
Parameters | `Object [] { cursorHandle, start, count }` where: `cursorHandle` is an object of type `java.lang.String` that specifies: The cursor handle. `start` is an object of type `java.lang.Long` that specifies: The new cursor start location. `count` is an object of type `java.lang.Integer` that specifies: The maximum number of items to return.
Signature | `String [] { "java.lang.String", "java.lang.Long", "java.lang.Integer" }`
Returns | `class`
Exceptions | `weblogic.management.ManagementException`

### getMember

Get the member of path service entry referenced by this object.

Operation Name | `"getMember"`
Parameters | `Object [] { cursorHandle, itemHandle }` where: `cursorHandle` is an object of type `java.lang.String` that specifies: the handle to the cursor `itemHandle` is an object of type `java.lang.Integer` that specifies: the handle to a specific item in the cursor
Signature | `String [] { "java.lang.String", "java.lang.Integer" }`
Returns | `CompositeData`
Exceptions | `weblogic.management.ManagementException`

### getNext

Returns an array of items starting from the current cursor end position. The new cursor start position is set to be the location of the first item returned to the caller. The new cursor end position is set according to the size of the array returned, which is determined by the count argument. An array smaller than the "count" value is returned if there are fewer items from the specified start position to the end of the result set. A null value is returned if the size of the array is zero. In this case, the cursor position will not change.

For more information, see:

- CursorRuntimeMBean

Operation Name | `"getNext"`
Parameters | `Object [] { cursorHandle, count }` where: `cursorHandle` is an object of type `java.lang.String` that specifies: The cursor handle. `count` is an object of type `java.lang.Integer` that specifies: The maximum number of items to return.
Signature | `String [] { "java.lang.String", "java.lang.Integer" }`
Returns | `class`
Exceptions | `weblogic.management.ManagementException`

### getPrevious

Returns an array of items up to the current cursor start position. The new start position will be placed at the location of the first item in the set returned to the caller. The new cursor end position will be placed at the location after the last item in the set that is returned.

For more information, see:

- CursorRuntimeMBean

Operation Name | `"getPrevious"`
Parameters | `Object [] { cursorHandle, count }` where: `cursorHandle` is an object of type `java.lang.String` that specifies: The cursor handle. `count` is an object of type `java.lang.Integer` that specifies: The maximum number of item to return.
Signature | `String [] { "java.lang.String", "java.lang.Integer" }`
Returns | `class`
Exceptions | `weblogic.management.ManagementException`

### remove

Remove the path service entry referenced by this object.

Operation Name | `"remove"`
Parameters | `Object [] { }` where:
Signature | `String [] { "java.lang.String", "java.lang.Integer" }`
Returns | `Void`
Exceptions | `weblogic.management.ManagementException`

### update

Update the path service entry referenced by this object.

Operation Name | `"update"`
Parameters | `Object [] { cursorHandle, newMember, }` where: `cursorHandle` is an object of type `java.lang.String` that specifies: the handle to the entry `newMember` is an object of type `java.lang.Integer` that specifies: the new member that replaces the old member in the entry
Signature | `String [] { "java.lang.String", "java.lang.Integer", "javax.management.openmbean.CompositeData" }`
Returns | `Void`
Exceptions | `weblogic.management.ManagementException`