Live Sequence Protocol for Java
Implementation of LSP in Java language
 Todos Classes Namespaces Arquivos Funções Variáveis
LspParams.java
Vá para a documentação deste arquivo.
1 package lsp;
2 
3 public class LspParams {
4  private final int epoch;
5  private final int epochLimit;
6 
7  public LspParams(int epoch, int epochLimit) {
8  this.epoch = epoch;
9  this.epochLimit = epochLimit;
10  }
11 
12  public int getEpoch() {
13  return epoch;
14  }
15 
16  public int getEpochLimit() {
17  return epochLimit;
18  }
19 
20  private static final LspParams DEFAULT_PARAMS = new LspParams(2000, 5);
21 
22  static final LspParams defaultParams() {
23  return DEFAULT_PARAMS;
24  }
25 }
LspParams(int epoch, int epochLimit)
Definition: LspParams.java:7
static final LspParams defaultParams()
Definition: LspParams.java:22
int getEpoch()
Definition: LspParams.java:12
int getEpochLimit()
Definition: LspParams.java:16