Example usage for java.io ObjectOutput writeLong

List of usage examples for java.io ObjectOutput writeLong

Introduction

In this page you can find the example usage for java.io ObjectOutput writeLong.

Prototype

void writeLong(long v) throws IOException;

Source Link

Document

Writes a long value, which is comprised of eight bytes, to the output stream.

Usage

From source file:com.splicemachine.derby.stream.output.direct.DirectTableWriterBuilder.java

@Override
public void writeExternal(ObjectOutput out) throws IOException {
    out.writeLong(destConglomerate);
    out.writeObject(opCtx);/*from   w ww  . j  a  va2 s . c o  m*/
    out.writeBoolean(skipIndex);
    SIDriver.driver().getOperationFactory().writeTxn(txn, out);
}

From source file:com.adaptris.core.interceptor.MessageStatistic.java

@Override
public void writeExternal(ObjectOutput out) throws IOException {
    out.writeLong(getEndMillis());
    out.writeInt(getTotalMessageCount());
    out.writeInt(getTotalMessageErrorCount());
    out.writeLong(getTotalMessageSize());
    out.writeLong(getStartMillis());/*from  w  w  w.j a v a 2s .c o  m*/
}

From source file:com.splicemachine.derby.stream.output.delete.DeleteTableWriterBuilder.java

@Override
public void writeExternal(ObjectOutput out) throws IOException {
    out.writeLong(heapConglom);
    SIDriver.driver().getOperationFactory().writeTxn(txn, out);
    out.writeBoolean(operationContext != null);
    if (operationContext != null)
        out.writeObject(operationContext);
}

From source file:LongRange.java

public void writeExternal(ObjectOutput out) throws IOException {
    out.writeLong(start);
    out.writeLong(end);
}

From source file:com.adaptris.core.interceptor.MetadataStatistic.java

@Override
public void writeExternal(ObjectOutput out) throws IOException {
    out.writeLong(getEndMillis());
    out.writeObject(getMetadataStatistics());
    out.writeLong(getStartMillis());/*ww w .  j ava2  s.c om*/
}

From source file:org.ihtsdo.otf.tcc.ddo.TimeReference.java

@Override
public void writeExternal(ObjectOutput out) throws IOException {
    out.writeLong(getTime());

    if ((formatterProperty != null) || (formatter != null)) {
        out.writeBoolean(true);//from w ww.ja v a  2s. c o m
        out.writeUTF(getFormatter().getPattern());
    } else {
        out.writeBoolean(false);
    }
}

From source file:MutableLong.java

public void writeExternal(ObjectOutput out) throws IOException {
    out.writeLong(_value);
}

From source file:com.splicemachine.derby.stream.output.PipelineWriterBuilder.java

@Override
public void writeExternal(ObjectOutput out) throws IOException {
    try {//from   w  ww  . j a  va2 s.c o m
        SIDriver.driver().getOperationFactory().writeTxn(txn, out);
        out.writeLong(heapConglom);
        out.writeBoolean(skipIndex);
    } catch (Exception e) {
        throw new IOException(e);
    }

}

From source file:com.aol.advertising.qiao.util.cache.ValueWrapper.java

@Override
public void writeExternal(ObjectOutput out) throws IOException {
    out.writeLong(this.insertionTime);
    out.writeLong(this.lastAccessTime);
    out.writeInt(this.timeout);
    out.writeByte(this.isModified);
    out.writeObject(value);/*from   ww w .j  a v  a2 s .co  m*/
}

From source file:de.pro.dbw.file.reflection.api.ReflectionCommentModel.java

@Override
public void writeExternal(ObjectOutput out) throws IOException {
    out.writeLong(this.getId());
    out.writeLong(this.getGenerationTime());
    out.writeObject(this.getText());
}