@SuppressWarnings("unchecked") private void startFlush(Event evt) { List<Address> flushParticipants =evt.getArg(); startFlush(flushParticipants); }
@ManagedOperation(description = "Request cluster flush") public void startFlush() { startFlush(new Event(Event.SUSPEND)); }
startFlush(evt); return null;
startFlush(evt); return null;
public boolean startFlush(long timeout) { return p.startFlush(timeout); }
public boolean startFlush(long timeout) { Map atts = new HashMap(); atts.put("timeout", new Long(timeout)); return startFlush(new Event(Event.SUSPEND,atts), 3, false); }
@SuppressWarnings("unchecked") private void startFlush(Event evt) { List<Address> flushParticipants =evt.getArg(); startFlush(flushParticipants); }
@ManagedOperation(description = "Request cluster flush") public void startFlush() { startFlush(new Event(Event.SUSPEND)); }
boolean shouldRetry = !(succeededWhileWeSlept !=null && succeededWhileWeSlept.booleanValue()); if(shouldRetry) successfulFlush = startFlush(evt, --numberOfAttempts, true);
startFlush(evt); return null;
public Object down(Event evt) { switch (evt.getType()) { case Event.MSG: Message msg = (Message) evt.getArg(); FlushHeader fh = (FlushHeader) msg.getHeader(getName()); if (fh != null && fh.type == FlushHeader.FLUSH_BYPASS) { return down_prot.down(evt); } else { blockMessageDuringFlush(); } break; case Event.GET_STATE: blockMessageDuringFlush(); break; case Event.CONNECT: sendBlockUpToChannel(); break; case Event.SUSPEND: return startFlush(evt, 3, false); case Event.RESUME: onResume(); return null; } return down_prot.down(evt); }
startFlush(evt); return null;
return startFlush(evt, 3, false);