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

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

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

origin: org.apache.geode/gemfire-core

/**
 * [GemStone] Sets the process id of the VM that hosts the distribution
 * manager with this address.
 *
 * @since 4.0
 */
public void setVmPid(int p)
{
 this.vmPid = p;
 synchPayload();
 cachedToString = null;
}
origin: io.snappydata/gemfire-core

public void setVmViewId(int p) {
 this.vmViewId = p;
 synchPayload();
 cachedToString = null;
 essentialData = null;
}
origin: io.snappydata/gemfire-core

/**
 * [GemStone] Sets the process id of the VM that hosts the distribution
 * manager with this address.
 *
 * @since 4.0
 */
public void setVmPid(int p)
{
 this.vmPid = p;
 synchPayload();
 cachedToString = null;
}
origin: io.snappydata/gemfire-core

/**
 * [GemStone] Set the direct channel port
 */
public void setDirectChannelPort(int p)
{
 dcPort = p;
 synchPayload();
}

origin: io.snappydata/gemfire-core

public void setVmKind(int p)
{
 vmKind = p;
 synchPayload();
 cachedToString = null;
 essentialData = null;
}

origin: org.apache.geode/gemfire-core

public void setVmViewId(int p) {
 this.vmViewId = p;
 synchPayload();
 cachedToString = null;
}
origin: io.snappydata/gemfire-core

public void setGroups(String[] newGroups) {
 assert !this.isPartial;
 assert newGroups != null;
 synchronized (this.rolesLock) {
  this.groups = newGroups;
  synchPayload();
  this.rolesSet = null;
  this.cachedToString = null;
 }
}
origin: org.apache.geode/gemfire-core

public void setGroups(String[] newGroups) {
 assert !this.isPartial;
 assert newGroups != null;
 synchronized (this.rolesLock) {
  this.groups = newGroups;
  synchPayload();
  this.rolesSet = null;
  this.cachedToString = null;
 }
}
origin: org.apache.geode/gemfire-core

public void setVmKind(int p)
{
 vmKind = p;
 synchPayload();
 cachedToString = null;
}

origin: org.apache.geode/gemfire-core

/**
 * [GemStone] Set the direct channel port
 */
public void setDirectChannelPort(int p)
{
 dcPort = p;
 synchPayload();
}

origin: org.apache.geode/gemfire-core

/**
 * Set the membership port.  This is done in loner systems using
 * client/server connection information to help form a unique ID
 */
public void setPort(int p) {
 assert this.vmKind == DistributionManager.LONER_DM_TYPE;
 this.netMbr.setPort(p);
 synchPayload();
 cachedToString = null;
}

origin: io.snappydata/gemfire-core

/**
 * Set the membership port.  This is done in loner systems using
 * client/server connection information to help form a unique ID
 */
public void setPort(int p) {
 assert this.vmKind == DistributionManager.LONER_DM_TYPE;
 this.ipAddr.setPort(p);
 synchPayload();
 cachedToString = null;
 essentialData = null;
}

origin: io.snappydata/gemfire-core

private void _readEssentialData(DataInput in)
 throws IOException, ClassNotFoundException {
 this.isPartial = true;
 InetAddress inetAddr = DataSerializer.readInetAddress(in);
 int port = in.readInt();
 this.hostName = SocketCreator.resolve_dns? SocketCreator.getHostName(inetAddr) : inetAddr.getHostAddress();
 int flags = in.readUnsignedByte();
 boolean sbEnabled = (flags & SB_ENABLED_MASK) != 0;
 boolean elCoord = (flags & COORD_ENABLED_MASK) != 0;
 this.vmKind = in.readUnsignedByte();
  if (this.vmKind == DistributionManager.LONER_DM_TYPE) {
  this.uniqueTag = DataSerializer.readString(in);
 } else {
  String str = DataSerializer.readString(in);
  if (str != null) { // backward compatibility from earlier than 6.5
   this.vmViewId = Integer.parseInt(str);
  }
 }
 /*this.name =*/ DataSerializer.readString(in);
 MemberAttributes attr = new MemberAttributes(this.dcPort, this.vmPid,
   this.vmKind, this.vmViewId, this.name, this.groups, this.durableClientAttributes);
 ipAddr = (JGroupMember)MemberFactory.newNetMember(inetAddr, port, sbEnabled, elCoord, attr);
 synchPayload();
}
origin: org.apache.geode/gemfire-core

private void defaultToCurrentHost() {
 this.vmPid = OSProcess.getId();
 try {
  if (SocketCreator.resolve_dns) {
   this.hostName = SocketCreator.getHostName(SocketCreator.getLocalHost());
  }
  else {
   this.hostName = SocketCreator.getLocalHost().getHostAddress();
  }
 }
 catch(UnknownHostException ee){
  throw new InternalGemFireError(ee);
 }
 synchPayload();
}
origin: org.apache.geode/gemfire-core

  InternalDataSerializer.getVersionForDataStream(in).ordinal(), attr);
synchPayload();
origin: org.apache.geode/gemfire-core

netMbr = MemberFactory.newNetMember(inetAddr, port, sbEnabled, elCoord, version, attr);
synchPayload();
origin: org.apache.geode/gemfire-core

private void _readEssentialData(DataInput in)
 throws IOException, ClassNotFoundException {
 this.isPartial = true;
 InetAddress inetAddr = DataSerializer.readInetAddress(in);
 int port = in.readInt();
 this.hostName = SocketCreator.resolve_dns? SocketCreator.getHostName(inetAddr) : inetAddr.getHostAddress();
 int flags = in.readUnsignedByte();
 boolean sbEnabled = (flags & SB_ENABLED_MASK) != 0;
 boolean elCoord = (flags & COORD_ENABLED_MASK) != 0;
 this.vmKind = in.readUnsignedByte();
  if (this.vmKind == DistributionManager.LONER_DM_TYPE) {
  this.uniqueTag = DataSerializer.readString(in);
 } else {
  String str = DataSerializer.readString(in);
  if (str != null) { // backward compatibility from earlier than 6.5
   this.vmViewId = Integer.parseInt(str);
  }
 }
 this.name = DataSerializer.readString(in);
 MemberAttributes attr = new MemberAttributes(this.dcPort, this.vmPid,
   this.vmKind, this.vmViewId, this.name, this.groups, this.durableClientAttributes);
 netMbr = MemberFactory.newNetMember(inetAddr, port, sbEnabled, elCoord, 
   InternalDataSerializer.getVersionForDataStream(in).ordinal(), attr);
 synchPayload();
 if (InternalDataSerializer.getVersionForDataStream(in).compareTo(Version.GFE_90)>=0) {
  netMbr.readAdditionalData(in);
 }
}
origin: io.snappydata/gemfire-core

ipAddr.getAddress().setVersionOrdinal(this.version);
synchPayload();
com.gemstone.gemfire.distributed.internal.membershipInternalDistributedMembersynchPayload

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,
  • toData,
  • _readEssentialData

Popular in Java

  • Start an intent from android
  • onCreateOptionsMenu (Activity)
  • setRequestProperty (URLConnection)
  • putExtra (Intent)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • JComboBox (javax.swing)
  • JTable (javax.swing)
  • CodeWhisperer alternatives
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