Package com.jcabi.dynamodb.core
Class Instances
- java.lang.Object
-
- com.jcabi.dynamodb.core.Instances
-
@Loggable public final class Instances extends Object
Running instances of DynamoDB Local.- Since:
- 0.1
- See Also:
- DynamoDB Local
-
-
Constructor Summary
Constructors Constructor Description Instances()
Public ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start(File dist, int port, File home, List<String> args)
Start a new one at this port.void
stop(int port)
Stop a running one at this port.
-
-
-
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 distributionport
- The port to start athome
- Java home directoryargs
- 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
-
-