Class SessionValue<T>

java.lang.Object
com.googlecode.objectify.impl.SessionValue<T>

public class SessionValue<T> extends Object
The information we maintain on behalf of an entity instance in the session cache. Normally this would just be a Resultinvalid input: '<'?>, but we also need to track the load arrangements so that we can decide whether to look for more Refinvalid input: '<'?>s to load.
Author:
Jeff Schnitzer invalid input: '<'[email protected]>
  • Constructor Details

    • SessionValue

      public SessionValue(Result<T> result)
      No load arrangement - in other words, this was a save operation
    • SessionValue

      public SessionValue(Result<T> result, LoadArrangement loadArrangement)
  • Method Details

    • getResult

      public Result<T> getResult()
    • loadWith

      public boolean loadWith(LoadArrangement arrangement)
      Returns:
      false if the arrangement has already been added