public class MuxFileDirectoryCache extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.addthis.muxy.MuxFileDirectoryCacheInstance |
DEFAULT |
| Constructor and Description |
|---|
MuxFileDirectoryCache() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getAndClearCacheEvictions() |
static long |
getCacheByteSize() |
static int |
getCacheDirSize() |
static int |
getCacheFileSize() |
static long |
getCacheStreamSize() |
static TrackedMultiplexFileManager |
getWriteableInstance(File dir) |
static boolean |
tryClear() |
static boolean |
tryEvict(MuxFileDirectory muxDir) |
static void |
waitForWriteClosure() |
public static boolean tryEvict(MuxFileDirectory muxDir)
public static boolean tryClear()
public static int getCacheDirSize()
public static int getAndClearCacheEvictions()
public static long getCacheByteSize()
public static long getCacheStreamSize()
public static int getCacheFileSize()
public static void waitForWriteClosure()
public static TrackedMultiplexFileManager getWriteableInstance(File dir) throws Exception
ExceptionCopyright © 2018 AddThis. All rights reserved.