Package ca.uhn.fhir.jpa.cache
Class ResourceChangeResult
java.lang.Object
ca.uhn.fhir.jpa.cache.ResourceChangeResult
An immutable object containing the count of resource creates, updates and deletes detected by a cache refresh operation.
Used internally for testing.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceChangeResult
fromCreated
(int theCreated) static ResourceChangeResult
fromResourceChangeEvent
(IResourceChangeEvent theResourceChangeEvent) plus
(ResourceChangeResult theResult) toString()
-
Field Details
-
created
-
updated
-
deleted
-
-
Constructor Details
-
ResourceChangeResult
public ResourceChangeResult()
-
-
Method Details
-
fromCreated
-
fromResourceChangeEvent
public static ResourceChangeResult fromResourceChangeEvent(IResourceChangeEvent theResourceChangeEvent) -
plus
-
toString
-