Class BinaryStorageInterceptor

java.lang.Object
ca.uhn.fhir.jpa.binstore.BinaryStorageInterceptor

public class BinaryStorageInterceptor extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    expungeResource(AtomicInteger theCounter, org.hl7.fhir.instance.model.api.IBaseResource theResource)
     
    void
    extractLargeBinariesBeforeCreate(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.interceptor.api.Pointcut thePointcut)
     
    void
    extractLargeBinariesBeforeUpdate(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, org.hl7.fhir.instance.model.api.IBaseResource thePreviousResource, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.interceptor.api.Pointcut thePointcut)
     
    long
    Any externalized binaries will be rehydrated if their size is below this thhreshold when reading the resource back.
    void
    preShow(ca.uhn.fhir.rest.api.server.IPreResourceShowDetails theDetails)
     
    void
    setAutoDeExternalizeMaximumBytes(long theAutoDeExternalizeMaximumBytes)
    Any externalized binaries will be rehydrated if their size is below this thhreshold when reading the resource back.
    void
     
    void
    storeLargeBinariesBeforeCreatePersistence(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.interceptor.api.Pointcut thePoincut)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getAutoDeExternalizeMaximumBytes

      Any externalized binaries will be rehydrated if their size is below this thhreshold when reading the resource back. Default is 10MB.
    • setAutoDeExternalizeMaximumBytes

      public void setAutoDeExternalizeMaximumBytes(long theAutoDeExternalizeMaximumBytes)
      Any externalized binaries will be rehydrated if their size is below this thhreshold when reading the resource back. Default is 10MB.
    • start

      @PostConstruct public void start()
    • expungeResource

      public void expungeResource(AtomicInteger theCounter, org.hl7.fhir.instance.model.api.IBaseResource theResource)
    • extractLargeBinariesBeforeCreate

      public void extractLargeBinariesBeforeCreate(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) throws IOException
      Throws:
      IOException
    • extractLargeBinariesBeforeUpdate

      public void extractLargeBinariesBeforeUpdate(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, org.hl7.fhir.instance.model.api.IBaseResource thePreviousResource, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.interceptor.api.Pointcut thePointcut) throws IOException
      Throws:
      IOException
    • storeLargeBinariesBeforeCreatePersistence

      public void storeLargeBinariesBeforeCreatePersistence(ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.interceptor.api.Pointcut thePoincut) throws IOException
      Throws:
      IOException
    • preShow

      public void preShow(ca.uhn.fhir.rest.api.server.IPreResourceShowDetails theDetails) throws IOException
      Throws:
      IOException