Class CachingTransformer

    • Constructor Detail

    • Method Detail

      • close

        public void close()
        Closes this PacketTransformer i.e. releases the resources allocated by it and prepares it for garbage collection. The (default) implementation of SinglePacketTransformer does nothing.
        Specified by:
        close in interface PacketTransformer
        Overrides:
        close in class SinglePacketTransformer
      • getTimeUntilNextRun

        public long getTimeUntilNextRun()
        Specified by:
        getTimeUntilNextRun in interface org.jitsi.utils.concurrent.RecurringRunnable
      • run

        public void run()
        Specified by:
        run in interface Runnable
      • setEnabled

        public void setEnabled​(boolean enabled)
        Enables/disables the caching of packets.
        Parameters:
        enabled - true if the caching of packets is to be enabled or false if the caching of packets is to be disabled