Interface NeedGarbageCollection

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface NeedGarbageCollection
    Determines whether this object requires periodic garbage collection by the gc command This interface has nothing to do with java garbage collection.
    • Method Detail

      • garbageCollection

        void garbageCollection()