Class Instances


  • @Loggable
    public final class Instances
    extends Object
    Running instances of DynamoDB Local.
    Since:
    0.1
    See Also:
    DynamoDB Local
    • Constructor Detail

      • Instances

        public Instances()
        Public ctor.
    • Method Detail

      • start

        public void start​(File dist,
                          int port,
                          File home,
                          List<String> args)
                   throws IOException
        Start a new one at this port.
        Parameters:
        dist - Path to DynamoDBLocal distribution
        port - The port to start at
        home - Java home directory
        args - Command line arguments
        Throws:
        IOException - If fails to start
      • stop

        public void stop​(int port)
        Stop a running one at this port.
        Parameters:
        port - The port to stop at