update comments
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/uri-resolver-manager@100917 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
aa4cf5ff6b
commit
29d3baded1
|
@ -91,7 +91,6 @@ public class UriResolverManager {
|
||||||
|
|
||||||
this.applicationType = applicationType;
|
this.applicationType = applicationType;
|
||||||
this.reloadRuntimeResourceParameter(RESET_DELAY, RESET_TIME);
|
this.reloadRuntimeResourceParameter(RESET_DELAY, RESET_TIME);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -63,7 +63,7 @@ public class UriResolverTest {
|
||||||
String shortLink = resolver.getLink(params, true);
|
String shortLink = resolver.getLink(params, true);
|
||||||
System.out.println(shortLink); //true, link is shorted otherwise none
|
System.out.println(shortLink); //true, link is shorted otherwise none
|
||||||
|
|
||||||
System.out.println("Thread "+Thread.currentThread().getId() +"reading counter is: " + resolver.countReaders());
|
System.out.println("Thread "+Thread.currentThread().getId() +" reading counter is: " + resolver.countReaders());
|
||||||
Thread.sleep(1000);
|
Thread.sleep(1000);
|
||||||
} catch (InterruptedException ex) {
|
} catch (InterruptedException ex) {
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
|
|
Loading…
Reference in New Issue