Tabnine Logo
ConsumerControl.isFlush
Code IndexAdd Tabnine to your IDE (free)

How to use
isFlush
method
in
org.apache.activemq.command.ConsumerControl

Best Java code snippets using org.apache.activemq.command.ConsumerControl.isFlush (Showing top 20 results out of 315)

origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ConsumerControl info = (ConsumerControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ConsumerControl info = (ConsumerControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ConsumerControl info = (ConsumerControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ConsumerControl info = (ConsumerControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ConsumerControl info = (ConsumerControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ConsumerControl info = (ConsumerControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ConsumerControl info = (ConsumerControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ConsumerControl info = (ConsumerControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());

  }
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
origin: org.apache.activemq/activemq-all

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
origin: org.apache.activemq/activemq-osgi

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
origin: org.apache.activemq/activemq-all

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
origin: org.apache.activemq/activemq-client

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
org.apache.activemq.commandConsumerControlisFlush

Popular methods of ConsumerControl

  • <init>
  • setConsumerId
  • setPrefetch
  • setDestination
  • getConsumerId
  • getPrefetch
  • getDestination
  • setClose
  • isClose
  • isStart
  • isStop
  • setFlush
  • isStop,
  • setFlush,
  • setStart,
  • setStop

Popular in Java

  • Running tasks concurrently on multiple threads
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JList (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now