Package com.sun.grid.jgdi.util

Examples of com.sun.grid.jgdi.util.OutputTable.addCol()


                public long getValue(JobSummary js) {
                    return js.getStickets();
                }
            });

            table.addCol("share", "share", 8, new ShareCalc(sge_ext));
        }
        //table.addCol("queueAssigned", "qs", 5);
        if (!options.showFullOutput()) {
            table.addCol("queue", "queue", 30);
        }
View Full Code Here


            table.addCol("share", "share", 8, new ShareCalc(sge_ext));
        }
        //table.addCol("queueAssigned", "qs", 5);
        if (!options.showFullOutput()) {
            table.addCol("queue", "queue", 30);
        }
        // if (options.showPEJobs()) {
        if (options.showExtendedSubTaskInfo()) {
            table.addCol("masterQueue", "master", 8, OutputTable.Column.LEFT);
        } else {
View Full Code Here

        if (!options.showFullOutput()) {
            table.addCol("queue", "queue", 30);
        }
        // if (options.showPEJobs()) {
        if (options.showExtendedSubTaskInfo()) {
            table.addCol("masterQueue", "master", 8, OutputTable.Column.LEFT);
        } else {
            table.addCol("slots", "slots", 8, OutputTable.Column.RIGHT);
        }
        table.addCol("ja-taskId", "ja-task-ID", 10, new JaTaskIdCalc());
View Full Code Here

        }
        // if (options.showPEJobs()) {
        if (options.showExtendedSubTaskInfo()) {
            table.addCol("masterQueue", "master", 8, OutputTable.Column.LEFT);
        } else {
            table.addCol("slots", "slots", 8, OutputTable.Column.RIGHT);
        }
        table.addCol("ja-taskId", "ja-task-ID", 10, new JaTaskIdCalc());


        if (tsk_ext) {
View Full Code Here

        if (options.showExtendedSubTaskInfo()) {
            table.addCol("masterQueue", "master", 8, OutputTable.Column.LEFT);
        } else {
            table.addCol("slots", "slots", 8, OutputTable.Column.RIGHT);
        }
        table.addCol("ja-taskId", "ja-task-ID", 10, new JaTaskIdCalc());


        if (tsk_ext) {
            Calc fixedValue = new Calc() {
View Full Code Here

                public Object getValue(Object obj) {
                    return "   NA ";
                }
            };
            table.addCol("taskId", "task-ID ", 7, fixedValue);
            table.addCol("state", "state", 6, new StatCalc());
            // TODO retrieve values from first task
            table.addCol("cpuUsage", "cpu", 8, fixedValue);
            table.addCol("memUsage", "mem", 7, OutputTable.Column.RIGHT, fixedValue);
            table.addCol("ioUsage", "io", 7, OutputTable.Column.RIGHT, fixedValue);
View Full Code Here

                public Object getValue(Object obj) {
                    return "   NA ";
                }
            };
            table.addCol("taskId", "task-ID ", 7, fixedValue);
            table.addCol("state", "state", 6, new StatCalc());
            // TODO retrieve values from first task
            table.addCol("cpuUsage", "cpu", 8, fixedValue);
            table.addCol("memUsage", "mem", 7, OutputTable.Column.RIGHT, fixedValue);
            table.addCol("ioUsage", "io", 7, OutputTable.Column.RIGHT, fixedValue);
            table.addCol("stat", "stat", 5, fixedValue);
View Full Code Here

                }
            };
            table.addCol("taskId", "task-ID ", 7, fixedValue);
            table.addCol("state", "state", 6, new StatCalc());
            // TODO retrieve values from first task
            table.addCol("cpuUsage", "cpu", 8, fixedValue);
            table.addCol("memUsage", "mem", 7, OutputTable.Column.RIGHT, fixedValue);
            table.addCol("ioUsage", "io", 7, OutputTable.Column.RIGHT, fixedValue);
            table.addCol("stat", "stat", 5, fixedValue);
            table.addCol("failed", "failed", 7, fixedValue);
        }
View Full Code Here

            };
            table.addCol("taskId", "task-ID ", 7, fixedValue);
            table.addCol("state", "state", 6, new StatCalc());
            // TODO retrieve values from first task
            table.addCol("cpuUsage", "cpu", 8, fixedValue);
            table.addCol("memUsage", "mem", 7, OutputTable.Column.RIGHT, fixedValue);
            table.addCol("ioUsage", "io", 7, OutputTable.Column.RIGHT, fixedValue);
            table.addCol("stat", "stat", 5, fixedValue);
            table.addCol("failed", "failed", 7, fixedValue);
        }
        return table;
View Full Code Here

            table.addCol("taskId", "task-ID ", 7, fixedValue);
            table.addCol("state", "state", 6, new StatCalc());
            // TODO retrieve values from first task
            table.addCol("cpuUsage", "cpu", 8, fixedValue);
            table.addCol("memUsage", "mem", 7, OutputTable.Column.RIGHT, fixedValue);
            table.addCol("ioUsage", "io", 7, OutputTable.Column.RIGHT, fixedValue);
            table.addCol("stat", "stat", 5, fixedValue);
            table.addCol("failed", "failed", 7, fixedValue);
        }
        return table;
    }
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.