1 24 package org.objectweb.jalisto.se.api; 25 26 import java.util.Collection ; 27 import java.io.Serializable ; 28 29 public interface JalistoProperties extends Serializable { 30 String getName(); 31 32 String getProperty(String key); 33 34 Collection getTraceModuleNames(); 35 36 String getPropertiesPath(); 37 38 int getInitialSize(); 39 40 int getOidPageSize(); 41 42 int getOidTableSize(); 43 44 int getAdditionalSpace(); 45 46 int getObjectCacheSize(); 47 48 int getPageCacheSize(); 49 50 int getMBeanJmxPort(); 51 52 double getCacheClearPourcent(); 53 54 short getClassPageSize(); 55 56 short getSystemPageSize(); 57 58 String getImplementation(); 59 60 boolean isMonoImplementation(); 61 62 boolean isReadOnlyImplementation(); 63 64 boolean isMultiImplementation(); 65 66 boolean isKeepingInMemory(); 67 68 boolean isCleanLog(); 69 70 boolean allowsSpecialFunctionnalities(); 71 72 short getInstancePageSize(); 73 74 int getKeyLength(); 75 76 String getCommunicationFactoryClassName(); 77 78 String getLogFileName(); 79 80 boolean isTraceEnable(); 81 82 JalistoProperties getClone(); 83 84 String getDbFileFullName(); 85 86 String getOidDbFilePath(); 87 88 String getSystemDbFilePath(); 89 90 int getInstanceDbFileNumber(); 91 92 String getInstanceDbFilePathAt(int index); 93 94 Collection getKeys(); 95 96 void compareProperties(JalistoProperties oldProps); 97 98 void checkProperty(JalistoProperties oldProps, String property); 99 100 String [] getPathes(); 101 102 void setProperty(String key, String property); 103 104 String getServerPropertiesPath(); 105 106 String getHost(); 107 108 int getPort(); 109 110 String getInternalFactoryClass(); 111 112 113 public final static int SYSTEM_INDEX = 0; 114 public final static int OID_INDEX = 1; 115 public final static int INDEXES_INDEX = 1; 116 117 public final static String MONO_IMPLEMENTATION = "mono"; 118 public final static String READONLY_IMPLEMENTATION = "readonly"; 119 public final static String MULTI_IMPLEMENTATION = "multi"; 120 public final static String REMOTE_IMPLEMENTATION = "remote"; 121 122 123 public final static String NAME_KEY = "name"; 124 public final static String IMPLEMENTATION_KEY = "userMode"; 125 public final static String DATABASE_FILES_PATHS_KEY = "dbFilesPaths"; 126 public final static String DATABASE_INITIAL_SIZE_KEY = "dbInitialSize"; 127 public final static String CACHE_IMPLEMENTATION_KEY = "cacheClass"; 128 public final static String OBJECT_CACHE_SIZE_KEY = "objectCacheSize"; 129 public final static String PAGE_CACHE_SIZE_KEY = "pageCacheSize"; 130 public final static String CACHE_CLEAR_POURCENT_KEY = "cacheClearPourcent"; 131 public final static String OIDTABLE_SIZE_KEY = "oidTableSize"; 132 public final static String OBJECT_INST_PAGE_SIZE_KEY = "instancePageSize"; 133 public final static String OBJECT_SYST_PAGE_SIZE_KEY = "systemPageSize"; 134 public final static String OBJECT_CLASS_PAGE_SIZE_KEY = "classPageSize"; 135 public final static String OBJECT_OID_PAGE_SIZE_KEY = "oidPageSize"; 136 public final static String CONCURRENCY_MODE_KEY = "concurrencyMode"; 137 public final static String TIME_OUT_KEY = "timeOut"; public final static String ADD_SPACE_KEY = "addSpace"; public final static String INTERNAL_KEY_MAX_SIZE_KEY = "internalKeyMaxSize"; public final static String ALLOWS_SPECIAL_FUNCTIONNALITIES_KEY = "allowsSpecialFunctionnalities"; public final static String PHYSICAL_ACCESS_CLASS_KEY = "physicalClass"; 142 public final static String INTERNAL_FACTORY_CLASS_KEY = "internalFactoryClass"; public final static String COMMUNICATION_FACTORY_CLASS_KEY = "communicationFactoryClass"; 144 public final static String QUERY_MANAGER_CLASS_KEY = "queryManagerClass"; 145 public final static String MBEAN_SERVER_CLASS_KEY = "jalistoMBeanServerClass"; public final static String MBEAN_JMX_SERVER_PORT_KEY = "MBeanHtmlServerPort"; public final static String KEEP_IN_MEMORY_KEY = "keepInMemory"; 148 public final static String CLEAN_LOG_KEY = "cleanLog"; public final static String LOG_FILE_KEY = "logFile"; 150 public final static String TRACE_KEY = "trace"; 151 } 152 | Popular Tags |