Ignore:
Timestamp:
10/09/13 17:35:41 (11 years ago)
Author:
stoda
Message:

Idea of thread supervisor done

TODO test the idea, change the remote properties, etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/supervisor/src/main/java/omq/common/broker/HasObject.java

    r91 r100  
    1212        private String reference;
    1313        private boolean hasObject;
     14        private int numThreads;
    1415
    15         public HasObject(String brokerName, String reference, boolean hasObject) {
     16        public HasObject(String brokerName, String reference, boolean hasObject, int numThreads) {
    1617                this.brokerName = brokerName;
    1718                this.reference = reference;
    1819                this.hasObject = hasObject;
     20                this.numThreads = numThreads;
    1921        }
    2022
     
    4345        }
    4446
     47        public int getNumThreads() {
     48                return numThreads;
     49        }
     50
     51        public void setNumThreads(int numThreads) {
     52                this.numThreads = numThreads;
     53        }
     54
    4555}
Note: See TracChangeset for help on using the changeset viewer.