org.jpos.space
Class SpaceUtil
java.lang.Object
org.jpos.space.SpaceUtil
public class SpaceUtil
- extends java.lang.Object
Space related helper methods
- Since:
- 1.4.7
- Version:
- $Revision: 2594 $ $Date: 2008-01-22 08:41:31 -0800 (Tue, 22 Jan 2008) $
- Author:
- Alejandro Revilla
|
Method Summary |
static java.lang.Object[] |
inpAll(Space sp,
java.lang.Object key)
return all entries under a given key |
static long |
nextLong(Space sp,
java.lang.Object key)
|
static void |
wipe(Space sp,
java.lang.Object key)
Remove all entries under key |
static void |
wipeAndOut(Space sp,
java.lang.Object key,
java.lang.Object value)
|
static void |
wipeAndOut(Space sp,
java.lang.Object key,
java.lang.Object value,
long timeout)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceUtil
public SpaceUtil()
inpAll
public static java.lang.Object[] inpAll(Space sp,
java.lang.Object key)
- return all entries under a given key
- Parameters:
sp - the Spacekey - Entry's key
- Returns:
- array containing all entries under key
wipe
public static void wipe(Space sp,
java.lang.Object key)
- Remove all entries under key
- Parameters:
sp - the Spacekey - Entry's key
wipeAndOut
public static void wipeAndOut(Space sp,
java.lang.Object key,
java.lang.Object value)
wipeAndOut
public static void wipeAndOut(Space sp,
java.lang.Object key,
java.lang.Object value,
long timeout)
nextLong
public static long nextLong(Space sp,
java.lang.Object key)