Improved contexts limit offset
This commit is contained in:
parent
848d1ee835
commit
c26b70520a
|
@ -193,7 +193,6 @@ public class ResourceRegistryClientImpl extends BaseRequestInfo implements Resou
|
||||||
typesKnowledge.setTypesDiscoverer(new RRCTypesDiscoverer(this));
|
typesKnowledge.setTypesDiscoverer(new RRCTypesDiscoverer(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* It reads all the contexts from server.
|
* It reads all the contexts from server.
|
||||||
* The cache used for contexts is bypassed and not updated.
|
* The cache used for contexts is bypassed and not updated.
|
||||||
|
@ -204,12 +203,6 @@ public class ResourceRegistryClientImpl extends BaseRequestInfo implements Resou
|
||||||
return getAllContextFromServer(offset, limit);
|
return getAllContextFromServer(offset, limit);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* It reads all the contexts from server.
|
|
||||||
* The cache used for contexts is bypassed and not updated.
|
|
||||||
* @return All Contexts read from server
|
|
||||||
* @throws ResourceRegistryException
|
|
||||||
*/
|
|
||||||
protected List<Context> getAllContextFromServer(Integer offset, Integer limit) throws ResourceRegistryException {
|
protected List<Context> getAllContextFromServer(Integer offset, Integer limit) throws ResourceRegistryException {
|
||||||
try {
|
try {
|
||||||
logger.info("Going to read all {}s", Context.NAME);
|
logger.info("Going to read all {}s", Context.NAME);
|
||||||
|
|
Loading…
Reference in New Issue