source: DCWoRMS/trunk/src/schedframe/scheduling/queue/QueueDescription.java @ 477

Revision 477, 580 bytes checked in by wojtekp, 13 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1package schedframe.scheduling.queue;
2
3public class QueueDescription {
4       
5        protected String name;
6        protected int priority;
7        protected boolean reservation;
8        protected long load;
9       
10        public QueueDescription(String name, int priority, boolean reservation, long load) {
11                this.name = name;
12                this.priority = priority;
13                this.reservation = reservation;
14                this.load = load;
15        }
16       
17        public String getName() {
18                return name;
19        }
20       
21        public int getPriority() {
22                return priority;
23        }
24       
25        public boolean supportReservation() {
26                return reservation;
27        }
28       
29        public long getLoad() {
30                return load;
31        }
32}
Note: See TracBrowser for help on using the repository browser.