functional interface that takes nothing and returns nothing

<>

This question already has an answer here:

Answers


How about Runnable :

@FunctionalInterface
public interface Runnable {
    /**
     * When an object implementing interface <code>Runnable</code> is used
     * to create a thread, starting the thread causes the object's
     * <code>run</code> method to be called in that separately executing
     * thread.
     * <p>
     * The general contract of the method <code>run</code> is that it may
     * take any action whatsoever.
     *
     * @see     java.lang.Thread#run()
     */
    public abstract void run();
}

Need Your Help

Example Puppet setup for a rails stack? (nginx, varnish, thin, postgres, memcached, redis)

ruby-on-rails puppet

I'm just getting started with Puppet. The example walkthroughs and tutorials were good at helping me understand Puppet's usefulness and the basic toolset, but I'm having a hard time conceptualizing a

How to load a jar file at runtime

java jar runtime classloader

I was asked to build a java system that will have the ability to load new code (expansions) while running.