public final AbstractItem next ( long lockID ) throws SevereMessageStoreException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "next" , Long . valueOf ( lockID ) ) ; final AbstractItemLink lockedMatchingLink = _next ( lockID ) ; // retrieve the item from the link AbstractItem lockedMatchingItem = null ; if ( null != lockedMatchingLink ) { lockedMatchingItem = lockedMatchingLink . getItem ( ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "next" , lockedMatchingItem ) ; return lockedMatchingItem ; }
Return the next item that is deemed a match by the filter specified when the cursor was created . Items returned by this method are locked .