megamek.common
Class MechSummaryCache
java.lang.Object
megamek.common.MechSummaryCache
public class MechSummaryCache
- extends java.lang.Object
Cache of the Mech summary information. Implemented as Singleton so a client
and server running in the same process can share it
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_instance
static MechSummaryCache m_instance
getInstance
public static MechSummaryCache getInstance()
dispose
public static void dispose()
isInitialized
public boolean isInitialized()
addListener
public void addListener(MechSummaryCache.Listener listener)
removeListener
public void removeListener(MechSummaryCache.Listener listener)
getAllMechs
public MechSummary[] getAllMechs()
getMech
public MechSummary getMech(java.lang.String sRef)
getFailedFiles
public java.util.Map<java.lang.String,java.lang.String> getFailedFiles()
loadMechData
void loadMechData()
getCacheCount
public int getCacheCount()
getFileCount
public int getFileCount()
getZipCount
public int getZipCount()