01: package com.tc.capabilities;
02:
03: import java.util.Date;
04:
05: public class StandardCapabilitiesImpl implements Capabilities {
06:
07: public int maxL2Connections() {
08: return Integer.MAX_VALUE;
09: }
10:
11: public long maxL2RuntimeMillis() {
12: return Integer.MAX_VALUE;
13: }
14:
15: public Date l2ExpiresOn() {
16: return new Date(Integer.MAX_VALUE);
17: }
18:
19: public boolean canClusterPOJOs() {
20: return true;
21: }
22:
23: public boolean hasHA() {
24: return true;
25: }
26:
27: public String describe() {
28: return "Unlimited capabilities";
29: }
30:
31: }
|