01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.simulator.container;
05:
06: public interface ContainerConfig {
07:
08: /**
09: * The number of application instances to create.
10: */
11: public int getApplicationInstanceCount();
12:
13: /**
14: * The maximum time a container should wait for other containers to join
15: */
16: public long getContainerStartTimeout();
17:
18: /**
19: * The maximum time the container should wait for its local applications to join.
20: */
21: public long getApplicationStartTimeout();
22:
23: /**
24: * The maximum time the container should wait for its local applications to complete.
25: */
26: public long getApplicationExecutionTimeout();
27:
28: /**
29: * Whether or not this container is the master.
30: */
31: public boolean isMaster();
32:
33: }
|