Tabnine Logo
InternalDistributedMember.toData
Code IndexAdd Tabnine to your IDE (free)

How to use
toData
method
in
com.gemstone.gemfire.distributed.internal.membership.InternalDistributedMember

Best Java code snippets using com.gemstone.gemfire.distributed.internal.membership.InternalDistributedMember.toData (Showing top 9 results out of 315)

origin: io.snappydata/gemfirexd-core

@Override
public void toData(final DataOutput out) throws IOException {
 super.toData(out);
 this.ownerMember.toData(out);
 InternalDataSerializer.writeSignedVL(this.ownerThreadId, out);
 DataSerializer.writeString(this.ownerThreadName, out);
}
origin: io.snappydata/snappydata-store-core

@Override
public void toData(final DataOutput out) throws IOException {
 super.toData(out);
 this.ownerMember.toData(out);
 InternalDataSerializer.writeSignedVL(this.ownerThreadId, out);
 DataSerializer.writeString(this.ownerThreadName, out);
}
origin: io.snappydata/gemfirexd

@Override
public void toData(final DataOutput out) throws IOException {
 super.toData(out);
 this.ownerMember.toData(out);
 InternalDataSerializer.writeSignedVL(this.ownerThreadId, out);
 DataSerializer.writeString(this.ownerThreadName, out);
}
origin: io.snappydata/snappydata-store-core

@Override
public void toData(final DataOutput out) throws IOException {
 super.toData(out);
 DataSerializer.writePrimitiveByte((byte)this.configOp.ordinal(), out);
 DataSerializer.writeObject(this.opArg, out);
 if (this.serializeMembers) {
  InternalDataSerializer.writeArrayLength(this.members.size(), out);
  for (Object member : this.members) {
   ((InternalDistributedMember)member).toData(out);
  }
 }
 else {
  InternalDataSerializer.writeArrayLength(0, out);
 }
}
origin: io.snappydata/gemfirexd-core

@Override
public void toData(final DataOutput out) throws IOException {
 super.toData(out);
 DataSerializer.writePrimitiveByte((byte)this.configOp.ordinal(), out);
 DataSerializer.writeObject(this.opArg, out);
 if (this.serializeMembers) {
  InternalDataSerializer.writeArrayLength(this.members.size(), out);
  for (Object member : this.members) {
   ((InternalDistributedMember)member).toData(out);
  }
 }
 else {
  InternalDataSerializer.writeArrayLength(0, out);
 }
}
origin: io.snappydata/gemfirexd

@Override
public void toData(final DataOutput out) throws IOException {
 super.toData(out);
 DataSerializer.writePrimitiveByte((byte)this.configOp.ordinal(), out);
 DataSerializer.writeObject(this.opArg, out);
 if (this.serializeMembers) {
  InternalDataSerializer.writeArrayLength(this.members.size(), out);
  for (Object member : this.members) {
   ((InternalDistributedMember)member).toData(out);
  }
 }
 else {
  InternalDataSerializer.writeArrayLength(0, out);
 }
}
origin: io.snappydata/snappydata-store-core

@Override
public void toData(final DataOutput out) throws IOException {
 super.toData(out);
 try {
  // Write EventID
  DataSerializer.writeObject(this.event.getEventId(), out);
  ((InternalDistributedMember)event.getDistributedMember()).toData(out);
  // Write Region name
  DataSerializer.writeString(this.event.getRegion().getFullPath(), out);
 } catch (Exception e) {
  throw new IOException(e);
 }
}
origin: io.snappydata/gemfirexd

@Override
public void toData(final DataOutput out) throws IOException {
 super.toData(out);
 try {
  // Write EventID
  DataSerializer.writeObject(this.event.getEventId(), out);
  // Write Member; TODO: SW: why is this required? get rid of it by
  // having an additional flag and getSender will get the origin
  ((InternalDistributedMember)event.getDistributedMember()).toData(out);
  // Write Region name
  DataSerializer.writeString(this.event.getRegion().getFullPath(), out);
 } catch (Exception e) {
  throw new IOException(e);
 }
}
origin: io.snappydata/gemfirexd-core

@Override
public void toData(final DataOutput out) throws IOException {
 super.toData(out);
 try {
  // Write EventID
  DataSerializer.writeObject(this.event.getEventId(), out);
  // Write Member; TODO: SW: why is this required? get rid of it by
  // having an additional flag and getSender will get the origin
  ((InternalDistributedMember)event.getDistributedMember()).toData(out);
  // Write Region name
  DataSerializer.writeString(this.event.getRegion().getFullPath(), out);
 } catch (Exception e) {
  throw new IOException(e);
 }
}
com.gemstone.gemfire.distributed.internal.membershipInternalDistributedMembertoData

Popular methods of InternalDistributedMember

  • <init>
    Construct a InternalDistributedMember. All fields are specified. This, and the following constructor
  • equals
  • toString
  • getHost
  • getId
  • getName
    Returns the name of this member's distributed system connection or null if no name was specified.
  • getPort
    Return the underlying port (membership port)
  • getRoles
    Returns an unmodifiable Set of this member's Roles.
  • getVmKind
    [GemStone] Returns the kind of VM that hosts the distribution manager with this address.
  • hashCode
  • getIpAddress
    Return the underlying host address
  • getProcessId
  • getIpAddress,
  • getProcessId,
  • getVersionObject,
  • fromData,
  • getDirectChannelPort,
  • getGroups,
  • getNetMember,
  • getVmViewId,
  • _readEssentialData

Popular in Java

  • Updating database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JOptionPane (javax.swing)
  • Top 12 Jupyter Notebook extensions
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