void setResourceListener(Key key, ResourceListener listener) {
        this.key = key;
        this.listener = listener;
    }
A wrapper resource that allows reference counting a wrapped {@link Resource}
interface.

@param <Z> The type of data returned by the wrapped {@link Resource}.
core/src/main/java/com/bumptech/glide/load/engine/EngineResource.java