releases an instance of the given resource . the instance must have been obtained from #get resource . otherwise will throw illegalargumentexception . caller must not release a reference more than once . it 's advisory that you clear the reference to the instance with the null returned by this method . concode_field_sep IdentityHashMap<Resource<?>,Instance> instances concode_elem_sep ScheduledExecutorFactory destroyerFactory concode_elem_sep long DESTROY_DELAY_SECONDS concode_elem_sep Object payload concode_elem_sep SharedResourceHolder holder concode_elem_sep ScheduledFuture<?> destroyTask concode_elem_sep ScheduledExecutorService destroyer concode_elem_sep int refcount concode_field_sep T releaseInternal concode_elem_sep T get concode_elem_sep T getInternal concode_elem_sep T create concode_elem_sep ScheduledExecutorService createScheduledExecutor concode_elem_sep ScheduledExecutorService createScheduledExecutor concode_elem_sep void close
T function ( final Resource < T > arg0 , final T arg1 ) { return holder . releaseInternal ( arg0 , arg1 ) ; }