Class HolderContainer

java.lang.Object
org.semispace.HolderContainer

public class HolderContainer extends Object
Container for holder elements.
  • Method Details

    • retrieveContainer

      public static HolderContainer retrieveContainer()
    • next

      public HolderElement next(String className)
    • removeHolderById

      public Holder removeHolderById(long id, String className)
    • findById

      public Holder findById(long id, String className)
    • addHolder

      protected void addHolder(Holder add)
      Protected for the benefit of junit tests.
    • size

      public int size()
      Method presumed called on first object, which is the holder object. Returning count, excluding holder.
    • retrieveGroupNames

      public String[] retrieveGroupNames()
    • readHolderWithId

      public Holder readHolderWithId(long id)
    • findAllHolderIds

      public Long[] findAllHolderIds()
      Return all ids present. Notice that this method will be rather network expensive, and is only intended to be used for persistence purposes.
    • addHolder

      public Holder addHolder(String xml, long liveUntil, String entryClassName, Map<String,String> searchMap)
    • incrementReturnNextId

      public long incrementReturnNextId()
    • waitHolder

      public void waitHolder(String className, long timeout)