Examples of closed()


Examples of org.jgroups.util.Queue.closed()

        final Queue queue=new Queue();
        String s1="Q1";

        try {
            queue.removeElement(s1);
            assert !(queue.closed());
            assert queue.size() == 0;
        }
        catch(QueueClosedException ex) {
            assert false : ex.toString();
        }
View Full Code Here

Examples of org.python.core.io.RawIOBase.closed()

    public static PyObject fdopen(PyObject fd, String mode, int bufsize) {
        if (mode.length() == 0 || !"rwa".contains("" + mode.charAt(0))) {
            throw Py.ValueError(String.format("invalid file mode '%s'", mode));
        }
        RawIOBase rawIO = FileDescriptors.get(fd);
        if (rawIO.closed()) {
            throw badFD();
        }

        try {
            return new PyFile(rawIO, "<fdopen>", mode, bufsize);
View Full Code Here

Examples of railo.runtime.spooler.SpoolerTask.closed()

        qry.setAt("id", row, task.getId());
 
       
        qry.setAt("lastExecution", row,new DateTimeImpl(pageContext,task.lastExecution(),true));
        qry.setAt("nextExecution", row,new DateTimeImpl(pageContext,task.nextExecution(),true));
        qry.setAt("closed", row,Caster.toBoolean(task.closed()));
        qry.setAt("tries", row,Caster.toDouble(task.tries()));
        qry.setAt("triesmax", row,Caster.toDouble(task.tries()));
        qry.setAt("exceptions", row,translateTime(task.getExceptions()));
       
        int triesMax=0;
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.