Codota Logo
TransactionIdMarshaller.tightMarshal2
Code IndexAdd Codota to your IDE (free)

How to use
tightMarshal2
method
in
org.apache.activemq.openwire.v2.TransactionIdMarshaller

Best Java code snippets using org.apache.activemq.openwire.v2.TransactionIdMarshaller.tightMarshal2 (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: apache/activemq

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  XATransactionId info = (XATransactionId)o;
  dataOut.writeInt(info.getFormatId());
  tightMarshalByteArray2(info.getGlobalTransactionId(), dataOut, bs);
  tightMarshalByteArray2(info.getBranchQualifier(), dataOut, bs);
}
origin: apache/activemq

/**
 * Write a object instance to data output stream
 * 
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  LocalTransactionId info = (LocalTransactionId)o;
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
}
origin: pierre/meteo

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  XATransactionId info = (XATransactionId)o;
  dataOut.writeInt(info.getFormatId());
  tightMarshalByteArray2(info.getGlobalTransactionId(), dataOut, bs);
  tightMarshalByteArray2(info.getBranchQualifier(), dataOut, bs);
}
origin: org.apache.activemq/activemq-all

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  XATransactionId info = (XATransactionId)o;
  dataOut.writeInt(info.getFormatId());
  tightMarshalByteArray2(info.getGlobalTransactionId(), dataOut, bs);
  tightMarshalByteArray2(info.getBranchQualifier(), dataOut, bs);
}
origin: org.apache.activemq/activemq-all

/**
 * Write a object instance to data output stream
 * 
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  LocalTransactionId info = (LocalTransactionId)o;
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
}
origin: org.apache.activemq/activemq-osgi

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  XATransactionId info = (XATransactionId)o;
  dataOut.writeInt(info.getFormatId());
  tightMarshalByteArray2(info.getGlobalTransactionId(), dataOut, bs);
  tightMarshalByteArray2(info.getBranchQualifier(), dataOut, bs);
}
origin: org.apache.activemq/activemq-osgi

/**
 * Write a object instance to data output stream
 * 
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  LocalTransactionId info = (LocalTransactionId)o;
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
}
origin: pierre/meteo

/**
 * Write a object instance to data output stream
 * 
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  LocalTransactionId info = (LocalTransactionId)o;
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
}
org.apache.activemq.openwire.v2TransactionIdMarshallertightMarshal2

Javadoc

Write a object instance to data output stream

Popular methods of TransactionIdMarshaller

  • looseMarshal
    Write the booleans that this object uses to a BooleanStream
  • looseUnmarshal
    Un-marshal an object instance from the data input stream
  • tightMarshal1
    Write the booleans that this object uses to a BooleanStream
  • tightUnmarshal
    Un-marshal an object instance from the data input stream

Popular in Java

  • Finding current android device location
  • putExtra (Intent)
  • getSystemService (Context)
  • onRequestPermissionsResult (Fragment)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now