- Timestamp:
- 10/19/13 13:20:44 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/supervisor/src/main/java/omq/common/broker/RemoteBrokerImpl.java
r103 r107 50 50 @Override 51 51 public HasObject hasObjectInfo(String reference) throws RetryException { 52 System.out.println("Hola soc un broker"+ getRef() + ", "+getUID()+ ", fil: "+Thread.currentThread().getId()); 52 53 if (getBroker().getRemoteObjs().containsKey(reference)) { 53 54 RemoteObject r = getBroker().getRemoteObjs().get(reference); 54 55 int numThreads = r.getPool().getWorkers().size(); 55 return new HasObject(this.get Ref(), reference, true, numThreads);56 return new HasObject(this.getUID(), reference, true, numThreads); 56 57 } 57 return new HasObject(this.get Ref(), reference, false, 0);58 return new HasObject(this.getUID(), reference, false, 0); 58 59 } 59 60
Note: See TracChangeset
for help on using the changeset viewer.