public FetchKeysResponse(InternalDistributedSystem system, LocalRegion region, InternalDistributedMember member) { super(system, member); this.region = region; returnValue = new THashSet(); }
public GatewaySenderEventCallbackArgumentImpl(Object originalCallbackArg) { super(originalCallbackArg); this.receipientDSIds = new THashSet(); assert !(originalCallbackArg instanceof GatewaySenderEventCallbackArgument): "unexpected double wrapping for " + originalCallbackArg; }
@SuppressWarnings("unchecked") protected synchronized final void addToFailedNodes( final GfxdFunctionMessage<?> fnMsg) { if (fnMsg != null && this.failedNodes != null) { if (fnMsg.failedNodes == null) { fnMsg.failedNodes = new THashSet(); } fnMsg.failedNodes.addAll(this.failedNodes); } }
protected SelectorProcess(Selector selector) { this.selector = selector; this.pendingConnections = new ArrayList<ClientProcessData>(4); this.selectedKeys = new THashSet(4); }
public DVDSet(DataTypeDescriptor valueDescriptor, TObjectHashingStrategy hashStrategy) { this.values = new ArrayList<Object>(DEFAULT_SIZE); this.valueSet = new THashSet(DEFAULT_SIZE, hashStrategy); this.resultDescriptor = (DataTypeDescriptor)valueDescriptor; }
public DVDSet(DataTypeDescriptor valueDescriptor) { this.values = new ArrayList<Object>(DEFAULT_SIZE); this.valueSet = new THashSet(DEFAULT_SIZE); this.resultDescriptor = valueDescriptor; }
public DVDSet(DataTypeDescriptor valueDescriptor) { this.values = new ArrayList<Object>(DEFAULT_SIZE); this.valueSet = new THashSet(DEFAULT_SIZE); this.resultDescriptor = valueDescriptor; }
@SuppressWarnings("unchecked") public void addTriggerTargetTableName(String targetTableName) { if (this.triggerTargetTableNames == null) { this.triggerTargetTableNames = new THashSet(); } this.triggerTargetTableNames.add(targetTableName); }
public DVDSet(Object valueDescriptor) { assert valueDescriptor == null || valueDescriptor instanceof DataTypeDescriptor: "DataTypeDescriptor " + "is expected but got " + valueDescriptor; this.values = new ArrayList<Object>(DEFAULT_SIZE); this.valueSet = new THashSet(DEFAULT_SIZE); this.resultDescriptor = (DataTypeDescriptor)valueDescriptor; }
@SuppressWarnings("unchecked") public void addTriggerTargetTableName(String targetTableName) { if (this.triggerTargetTableNames == null) { this.triggerTargetTableNames = new THashSet(); } this.triggerTargetTableNames.add(targetTableName); }
public DVDSet(DataTypeDescriptor valueDescriptor) { this.values = new ArrayList<Object>(DEFAULT_SIZE); this.valueSet = new THashSet(DEFAULT_SIZE); this.resultDescriptor = valueDescriptor; }
public Set getAllOtherMembers() { Set result = new THashSet(getDistributionManagerIdsIncludingAdmin()); result.remove(getDistributionManagerId()); return result; }
@SuppressWarnings("unchecked") public final synchronized Set<DistributedMember> getGrantedMembers() { final THashSet members = new THashSet(this.grantedMembers.size()); members.addAll(this.grantedMembers); return members; }
@SuppressWarnings("unchecked") public final synchronized Set<DistributedMember> getGrantedMembers() { final THashSet members = new THashSet(this.grantedMembers.size()); members.addAll(this.grantedMembers); return members; }
@SuppressWarnings("unchecked") public final synchronized Set<DistributedMember> getGrantedMembers() { final THashSet members = new THashSet(this.grantedMembers.size()); members.addAll(this.grantedMembers); return members; }
/** * Returns a modifiable set of all members that are part of Distributed * System including self and admin members. */ @SuppressWarnings("unchecked") public static Set<DistributedMember> getAllDSMembers() { Set<DistributedMember> members = new THashSet(Misc.getDistributedSystem() .getDistributionManager().getDistributionManagerIdsIncludingAdmin()); final DistributedMember myId = Misc.getMyId(); members.add(myId); return members; }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); //this._originalEventId = DataSerializer.readString(in); this._originatingGatewayHubId = DataSerializer.readString(in); this._recipientGateways = new THashSet(2); int numberOfRecipientGateways = in.readInt(); for (int i = 0; i < numberOfRecipientGateways; i++) { this._recipientGateways.add(DataSerializer.readString(in)); } }
public GfxdWaitingReplyProcessor(DM dm, Set<DistributedMember> members, boolean ignoreNodeDown, boolean useLatchForWaiters) { super(dm, members, true); this.grantedMembers = new THashSet(); this.ignoreNodeDown = ignoreNodeDown; this.waitLatch = useLatchForWaiters ? new StoppableCountDownLatch( getDistributionManager().getCancelCriterion(), 1) : null; }
/** * Returns a modifiable set of all members that are part of Distributed * System including self and admin members. */ @SuppressWarnings("unchecked") public static Set<DistributedMember> getAllDSMembers() { Set<DistributedMember> members = new THashSet(Misc.getDistributedSystem() .getDistributionManager().getDistributionManagerIdsIncludingAdmin()); final DistributedMember myId = Misc.getMyId(); members.add(myId); return members; }
/** * Returns a modifiable set of all members that are part of Distributed * System including self and admin members. */ @SuppressWarnings("unchecked") public static Set<DistributedMember> getAllDSMembers() { Set<DistributedMember> members = new THashSet(Misc.getDistributedSystem() .getDistributionManager().getDistributionManagerIdsIncludingAdmin()); final DistributedMember myId = Misc.getMyId(); members.add(myId); return members; }