Class SQLiteClosable

    • Constructor Detail

      • SQLiteClosable

        public SQLiteClosable()
    • Method Detail

      • onAllReferencesReleased

        protected abstract void onAllReferencesReleased()
        Called when the last reference to the object was released by a call to releaseReference() or close().
      • onAllReferencesReleasedFromContainer

        @Deprecated
        protected void onAllReferencesReleasedFromContainer()
        Deprecated.
        Do not use.
        Called when the last reference to the object was released by a call to releaseReferenceFromContainer().
      • acquireReference

        public void acquireReference()
        Acquires a reference to the object.
        Throws:
        IllegalStateException - if the last reference to the object has already been released.
      • releaseReference

        public void releaseReference()
        Releases a reference to the object, closing the object if the last reference was released.
        See Also:
        onAllReferencesReleased()
      • releaseReferenceFromContainer

        @Deprecated
        public void releaseReferenceFromContainer()
        Deprecated.
        Do not use.
        Releases a reference to the object that was owned by the container of the object, closing the object if the last reference was released.
        See Also:
        onAllReferencesReleasedFromContainer()