Package org.apache.axis.types

Examples of org.apache.axis.types.NonNegativeInteger.intValue()


        int resultSetIdleTime=((Integer)msgContext.getProperty("resultSetIdleTime")).intValue();
        NonNegativeInteger nni=request.getResultSetTTL();
        if(log.isDebugEnabled())
            log.debug("resultSetTTL()="+nni);
        if(nni!=null) {
            int ttl=nni.intValue();
            log.debug("ttl="+ttl);
            if(ttl<resultSetIdleTime)
                resultSetIdleTime=ttl;
        }
        String dbname=(String)msgContext.getProperty("dbname");
View Full Code Here


            max=pi.intValue();
            pos=max/2+1;
        }
        NonNegativeInteger nni = request.getResponsePosition();
        if(nni!=null)
            pos=nni.intValue();
        String scanTerm = request.getScanClause();
        try{
            if (scanTerm!=null)
                log.info("scanTerm:\n" + Utilities.byteArrayToString(scanTerm.getBytes("UTF-8")));
        } catch (Exception e){}
View Full Code Here

        response.setNumberOfRecords(new NonNegativeInteger(Long.toString(postingsCount)));

        int resultSetTTL = defaultResultSetTTL;
        NonNegativeInteger nni = request.getResultSetTTL();
        if(nni!=null)
            resultSetTTL=nni.intValue();
        result.setResultSetIdleTime(resultSetTTL);
        if (postingsCount>0) {  // we don't mess with records otherwise
            if (resultSetTTL>0 && returnResultSetId) {
                // cache the resultSet and set (or reset) its timer
                if(resultSetID==null)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.