org.jpos.space
Class SpaceUtil

java.lang.Object
  extended by org.jpos.space.SpaceUtil

public class SpaceUtil
extends Object

Space related helper methods

Since:
1.4.7
Version:
$Revision$ $Date$
Author:
Alejandro Revilla

Constructor Summary
SpaceUtil()
           
 
Method Summary
static Object[] inpAll(Space sp, Object key)
          return all entries under a given key
static long nextLong(Space sp, Object key)
           
static void wipe(Space sp, Object key)
          Remove all entries under key
static void wipeAndOut(Space sp, Object key, Object value)
           
static void wipeAndOut(Space sp, Object key, Object value, long timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceUtil

public SpaceUtil()
Method Detail

inpAll

public static Object[] inpAll(Space sp,
                              Object key)
return all entries under a given key

Parameters:
sp - the Space
key - Entry's key
Returns:
array containing all entries under key

wipe

public static void wipe(Space sp,
                        Object key)
Remove all entries under key

Parameters:
sp - the Space
key - Entry's key

wipeAndOut

public static void wipeAndOut(Space sp,
                              Object key,
                              Object value)

wipeAndOut

public static void wipeAndOut(Space sp,
                              Object key,
                              Object value,
                              long timeout)

nextLong

public static long nextLong(Space sp,
                            Object key)


Copyright © 1998-2012 jPOS.org. All Rights Reserved.