public static base_responses clear ( nitro_service client , lbpersistentsessions resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { lbpersistentsessions clearresources [ ] = new lbpersistentsessions [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { clearresources [ i ] = new lbpersistentsessions ( ) ; clearresources [ i ] . vserver = resources [ i ] . vserver ; clearresources [ i ] . persistenceparameter = resources [ i ] . persistenceparameter ; } result = perform_operation_bulk_request ( client , clearresources , "clear" ) ; } return result ; }
Use this API to clear lbpersistentsessions resources .