/** Constructor that should be invoked by child classes. */ protected GfxdFunctionMessage(ResultCollector<Object, T> collector, final TXStateInterface tx, boolean timeStatsEnabled) { super(tx, timeStatsEnabled); if (this.timeStatsEnabled) { replyReceivedMsgs = Collections .synchronizedList(new ArrayList<GfxdFunctionReplyMessage>()); replySentMsgs = Collections .synchronizedList(new ArrayList<GfxdFunctionReplyMessage>()); } else { replyReceivedMsgs = null; replySentMsgs = null; } assert collector != null: "unexpected null ResultCollector"; this.userCollector = collector; this.gfxdCollector = getGfxdResultCollector(collector); }
public final boolean setupContainersToClose( Collection<GemFireContainer> containers, GemFireTransaction tran) throws StandardException { final GfxdResultCollector<?> gfxdCollector; if (this.latch == null && (gfxdCollector = getGfxdResultCollector( this.userCollector)) != null) { return gfxdCollector.setupContainersToClose(containers, tran); } else { return false; } }
/** Constructor that should be invoked by child classes. */ protected GfxdFunctionMessage(ResultCollector<Object, T> collector, final TXStateInterface tx, boolean timeStatsEnabled) { super(tx, timeStatsEnabled); if (this.timeStatsEnabled) { replyReceivedMsgs = Collections .synchronizedList(new ArrayList<GfxdFunctionReplyMessage>()); replySentMsgs = Collections .synchronizedList(new ArrayList<GfxdFunctionReplyMessage>()); } else { replyReceivedMsgs = null; replySentMsgs = null; } assert collector != null: "unexpected null ResultCollector"; this.userCollector = collector; this.gfxdCollector = getGfxdResultCollector(collector); }
/** Constructor that should be invoked by child classes. */ protected GfxdFunctionMessage(ResultCollector<Object, T> collector, final TXStateInterface tx, boolean timeStatsEnabled, boolean abortOnLowMemory) { super(tx, timeStatsEnabled); this.abortOnLowMemory = abortOnLowMemory; if (this.timeStatsEnabled) { replyReceivedMsgs = Collections .synchronizedList(new ArrayList<GfxdFunctionReplyMessage>()); replySentMsgs = Collections .synchronizedList(new ArrayList<GfxdFunctionReplyMessage>()); } else { replyReceivedMsgs = null; replySentMsgs = null; } assert collector != null: "unexpected null ResultCollector"; this.userCollector = collector; this.gfxdCollector = getGfxdResultCollector(collector); }
public final boolean setupContainersToClose( Collection<GemFireContainer> containers, GemFireTransaction tran) throws StandardException { final GfxdResultCollector<?> gfxdCollector; if (this.latch == null && (gfxdCollector = getGfxdResultCollector( this.userCollector)) != null) { return gfxdCollector.setupContainersToClose(containers, tran); } else { return false; } }
public final boolean setupContainersToClose( Collection<GemFireContainer> containers, GemFireTransaction tran) throws StandardException { final GfxdResultCollector<?> gfxdCollector; if (this.latch == null && (gfxdCollector = getGfxdResultCollector( this.userCollector)) != null) { return gfxdCollector.setupContainersToClose(containers, tran); } else { return false; } }