quarks.oplet.functional

Class SupplierPeriodicSource<T>

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.lang.Runnable, PeriodicMXBean, Oplet<java.lang.Void,T>


    public class SupplierPeriodicSource<T>
    extends PeriodicSource<T>
    • Constructor Detail

      • SupplierPeriodicSource

        public SupplierPeriodicSource(long period,
                                      java.util.concurrent.TimeUnit unit,
                                      Supplier<T> data)
    • Method Detail

      • close

        public void close()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception

Copyright IBM 2015,2016 - 2f6ad0e-20160307-0902