1 23 24 package org.apache.slide.common; 25 26 30 public final class CacheInfoToken { 31 32 33 35 36 41 public CacheInfoToken(String strategy) { 42 this.strategy = strategy; 43 } 44 45 46 50 public CacheInfoToken() { 51 } 52 53 54 56 57 60 private String strategy; 61 62 63 67 private int searchDepth; 68 69 70 75 private boolean flushOnCommandDone = true; 76 77 78 80 81 84 public String getStrategy() { 85 return strategy; 86 } 87 88 89 92 public void setStrategy(String strategy) { 93 this.strategy = strategy; 94 } 95 96 99 public int getSearchDepth() { 100 return searchDepth; 101 } 102 103 104 107 public void setSearchDepth(int searchDepth) { 108 this.searchDepth = searchDepth; 109 } 110 111 112 115 public boolean isFlushOnCommandDone() { 116 return flushOnCommandDone; 117 } 118 119 120 123 public void setFlushOnCommandDone(boolean flushOnCommandDone) { 124 this.flushOnCommandDone = flushOnCommandDone; 125 } 126 127 128 } 129 | Popular Tags |