Package ca.uhn.fhir.rest.server
Class FifoMemoryPagingProvider
- java.lang.Object
-
- ca.uhn.fhir.rest.server.BasePagingProvider
-
- ca.uhn.fhir.rest.server.FifoMemoryPagingProvider
-
- All Implemented Interfaces:
IPagingProvider
public class FifoMemoryPagingProvider extends BasePagingProvider implements IPagingProvider
-
-
Field Summary
-
Fields inherited from class ca.uhn.fhir.rest.server.BasePagingProvider
DEFAULT_DEFAULT_PAGE_SIZE, DEFAULT_MAX_PAGE_SIZE
-
-
Constructor Summary
Constructors Constructor Description FifoMemoryPagingProvider(int theSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IBundleProviderretrieveResultList(RequestDetails theRequest, String theId)Retrieve a result list by IDStringstoreResultList(RequestDetails theRequestDetails, IBundleProvider theList)Stores a result list and returns an ID with which that list can be returned-
Methods inherited from class ca.uhn.fhir.rest.server.BasePagingProvider
getDefaultPageSize, getMaximumPageSize, setDefaultPageSize, setMaximumPageSize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ca.uhn.fhir.rest.server.IPagingProvider
getDefaultPageSize, getMaximumPageSize, retrieveResultList
-
-
-
-
Constructor Detail
-
FifoMemoryPagingProvider
public FifoMemoryPagingProvider(int theSize)
-
-
Method Detail
-
retrieveResultList
public IBundleProvider retrieveResultList(RequestDetails theRequest, String theId)
Description copied from interface:IPagingProviderRetrieve a result list by IDNote that the
theRequestparameter was added to this method in HAPI FHIR 4.0.0. Existing implementations may choose to add this parameter and not use it if needed.- Specified by:
retrieveResultListin interfaceIPagingProvider
-
storeResultList
public String storeResultList(RequestDetails theRequestDetails, IBundleProvider theList)
Description copied from interface:IPagingProviderStores a result list and returns an ID with which that list can be returned- Specified by:
storeResultListin interfaceIPagingProvider- Parameters:
theRequestDetails- The server request being made (may be null)
-
-