Class AtomicReferenceFieldUpdaterInjector<C,​T>

    • Constructor Detail

      • AtomicReferenceFieldUpdaterInjector

        public AtomicReferenceFieldUpdaterInjector​(AtomicReferenceFieldUpdater<C,​? super T> updater,
                                                   Value<C> target)
        Deprecated.
        Construct a new instance.
        Parameters:
        updater - the updater to inject to
        target - the target object upon which to inject
    • Method Detail

      • inject

        public void inject​(T value)
        Deprecated.
        Inject the given value.
        Specified by:
        inject in interface Injector<C>
        Parameters:
        value - the value
      • uninject

        public void uninject()
        Deprecated.
        Uninject the given value (in other words, cancel or undo a previous injection). Only called after inject() has been called.
        Specified by:
        uninject in interface Injector<C>