org.boris.xlloop.util
Class XLoperCache
java.lang.Object
org.boris.xlloop.util.XLoperCache
public class XLoperCache
- extends java.lang.Object
Method Summary |
XLoper |
get(java.io.File f)
|
XLoper |
get(long date,
java.lang.Object... ids)
|
XLoper |
get(java.lang.String id)
|
boolean |
isValid(long date,
java.lang.Object... ids)
|
boolean |
isValid(long date,
java.lang.String id)
|
void |
put(XLoper x,
java.io.File f)
|
void |
put(XLoper x,
java.lang.Object... ids)
|
void |
put(XLoper x,
java.lang.String id)
|
java.lang.String |
toId(java.lang.Object... ids)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XLoperCache
public XLoperCache(java.io.File baseDir)
toId
public java.lang.String toId(java.lang.Object... ids)
get
public XLoper get(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
put
public void put(XLoper x,
java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
put
public void put(XLoper x,
java.lang.String id)
throws java.io.IOException
- Throws:
java.io.IOException
put
public void put(XLoper x,
java.lang.Object... ids)
throws java.io.IOException
- Throws:
java.io.IOException
get
public XLoper get(long date,
java.lang.Object... ids)
throws java.io.IOException
- Throws:
java.io.IOException
get
public XLoper get(java.lang.String id)
throws java.io.IOException
- Throws:
java.io.IOException
isValid
public boolean isValid(long date,
java.lang.Object... ids)
isValid
public boolean isValid(long date,
java.lang.String id)