001/** 002 * 003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved. 004 * 005 * This library is free software; you can redistribute it and/or 006 * modify it under the terms of the GNU Lesser General Public 007 * License as published by the Free Software Foundation; either 008 * version 2.1 of the License, or (at your option) any later version. 009 * 010 * This library is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 013 * Lesser General Public License for more details. 014 * 015 * You should have received a copy of the GNU Lesser General Public 016 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 017 * 018 **/ 019/* cacheConfiguration - Decompiled by JODE 020 * Visit http://jode.sourceforge.net/ 021 */ 022package lucee.runtime.cache.eh.remote.soap; 023 024public class CacheConfiguration 025{ 026 private Boolean clearOnFlush; 027 private Long diskExpiryThreadIntervalSeconds; 028 private Boolean diskPersistent; 029 private Integer diskSpoolBufferSizeMB; 030 private Boolean eternal; 031 private Integer maxElementsInMemory; 032 private Integer maxElementsOnDisk; 033 private String name; 034 private Boolean overflowToDisk; 035 private Long timeToIdleSeconds; 036 private Long timeToLiveSeconds; 037 038 public final Boolean getClearOnFlush() { 039 return clearOnFlush; 040 } 041 042 public final void setClearOnFlush(Boolean clearOnFlush) { 043 this.clearOnFlush = clearOnFlush; 044 } 045 046 public final Long getDiskExpiryThreadIntervalSeconds() { 047 return diskExpiryThreadIntervalSeconds; 048 } 049 050 public final void setDiskExpiryThreadIntervalSeconds 051 (Long diskExpiryThreadIntervalSeconds) { 052 this.diskExpiryThreadIntervalSeconds = diskExpiryThreadIntervalSeconds; 053 } 054 055 public final Boolean getDiskPersistent() { 056 return diskPersistent; 057 } 058 059 public final void setDiskPersistent(Boolean diskPersistent) { 060 this.diskPersistent = diskPersistent; 061 } 062 063 public final Integer getDiskSpoolBufferSizeMB() { 064 return diskSpoolBufferSizeMB; 065 } 066 067 public final void setDiskSpoolBufferSizeMB(Integer diskSpoolBufferSizeMB) { 068 this.diskSpoolBufferSizeMB = diskSpoolBufferSizeMB; 069 } 070 071 public final Boolean getEternal() { 072 return eternal; 073 } 074 075 public final void setEternal(Boolean eternal) { 076 this.eternal = eternal; 077 } 078 079 public final Integer getMaxElementsInMemory() { 080 return maxElementsInMemory; 081 } 082 083 public final void setMaxElementsInMemory(Integer maxElementsInMemory) { 084 this.maxElementsInMemory = maxElementsInMemory; 085 } 086 087 public final Integer getMaxElementsOnDisk() { 088 return maxElementsOnDisk; 089 } 090 091 public final void setMaxElementsOnDisk(Integer maxElementsOnDisk) { 092 this.maxElementsOnDisk = maxElementsOnDisk; 093 } 094 095 public final String getName() { 096 return name; 097 } 098 099 public final void setName(String name) { 100 this.name = name; 101 } 102 103 public final Boolean getOverflowToDisk() { 104 return overflowToDisk; 105 } 106 107 public final void setOverflowToDisk(Boolean overflowToDisk) { 108 this.overflowToDisk = overflowToDisk; 109 } 110 111 public final Long getTimeToIdleSeconds() { 112 return timeToIdleSeconds; 113 } 114 115 public final void setTimeToIdleSeconds(Long timeToIdleSeconds) { 116 this.timeToIdleSeconds = timeToIdleSeconds; 117 } 118 119 public final Long getTimeToLiveSeconds() { 120 return timeToLiveSeconds; 121 } 122 123 public final void setTimeToLiveSeconds(Long timeToLiveSeconds) { 124 this.timeToLiveSeconds = timeToLiveSeconds; 125 } 126}