Exemplo n.º 1
0
 private Date getExpirationTimeForPoolSelection() {
   long now = System.currentTimeMillis();
   long timeout = _poolManagerStub.getTimeoutInMillis();
   return new Date(now + 2 * (timeout + RETRY_DELAY));
 }
Exemplo n.º 2
0
 private Date getExpirationTimeForSettingFlag() {
   long now = System.currentTimeMillis();
   long timeout = _poolStub.getTimeoutInMillis();
   return new Date(now + 2 * timeout);
 }
Exemplo n.º 3
0
 private Date getExpirationTimeForNameSpaceLookup() {
   long now = System.currentTimeMillis();
   long timeout = _pnfsStub.getTimeoutInMillis();
   return new Date(now + 2 * (timeout + RETRY_DELAY));
 }