Class SyncResourceRegistry

    • Constructor Detail

      • SyncResourceRegistry

        public SyncResourceRegistry()
        Construct a ResourceRegistry class instance. When instances of these ResourceRegistry are garbage collected when not shut down, they will automatically behave as-if ResourceRegistry.shutdown() was invoked and a warning is emitted to the logs.
      • SyncResourceRegistry

        public SyncResourceRegistry​(boolean garbageCollectable)
        Construct a ResourceRegistry class instance. Instances constructed with this constructor will not emit any log when it is garbage collected.
        Parameters:
        garbageCollectable - If true, the ResourceRegistry will be shut down when no remaining references to the ResourceRegistry remain referenced.