Logo Search packages:      
Sourcecode: libjgroups-java version File versions

void org::jgroups::Message::putHeader ( String  key,
Header  hdr 
) [inline]

Puts a header given a key into the hashmap. Overwrites potential existing entry.

Definition at line 327 of file Message.java.

References headers.

Referenced by org::jgroups::protocols::FD_SOCK::broadcastSuspectMessage(), org::jgroups::protocols::pbcast::GMS::castViewChangeWithDest(), org::jgroups::protocols::AUTH::createFailureEvent(), org::jgroups::protocols::SMACK::down(), org::jgroups::protocols::MERGEFAST::down(), org::jgroups::protocols::COMPRESS::down(), org::jgroups::protocols::CAUSAL::down(), org::jgroups::protocols::AUTH::down(), org::jgroups::mux::MuxChannel::down(), org::jgroups::protocols::UNICAST::down(), org::jgroups::protocols::SEQUENCER::down(), org::jgroups::protocols::pbcast::STREAMING_STATE_TRANSFER::down(), org::jgroups::protocols::pbcast::STATE_TRANSFER::down(), org::jgroups::mux::MuxChannel::downcall(), org::jgroups::protocols::FD_SOCK::fetchPingAddress(), org::jgroups::protocols::FRAG2::fragment(), org::jgroups::protocols::FRAG::fragment(), org::jgroups::protocols::FD_SOCK::getCacheFromCoordinator(), org::jgroups::protocols::pbcast::CoordGmsImpl::getMergeDataFromSubgroupCoordinators(), org::jgroups::protocols::pbcast::CoordGmsImpl::handleMergeView(), org::jgroups::blocks::RequestCorrelator::handleRequest(), org::jgroups::protocols::pbcast::ClientGmsImpl::join(), org::jgroups::tests::GroupRequestPull::receive(), org::jgroups::protocols::pbcast::NAKACK::send(), org::jgroups::protocols::FC::sendCreditRequest(), org::jgroups::protocols::ENCRYPT::sendDown(), org::jgroups::protocols::FD_SOCK::sendIHaveSockMessage(), org::jgroups::protocols::pbcast::ClientGmsImpl::sendJoinMessage(), org::jgroups::protocols::ENCRYPT::sendKeyRequest(), org::jgroups::protocols::pbcast::CoordGmsImpl::sendMergeResponse(), org::jgroups::protocols::pbcast::CoordGmsImpl::sendMergeView(), org::jgroups::protocols::ENCRYPT::sendSecretKey(), org::jgroups::protocols::pbcast::STABLE::sendStableMessage(), org::jgroups::protocols::VIEW_SYNC::sendViewRequest(), org::jgroups::protocols::pbcast::NAKACK::sendXmitRsp(), org::jgroups::protocols::FD_ALL::shunInvalidHeartbeatSender(), org::jgroups::protocols::FD::shunInvalidHeartbeatSender(), org::jgroups::protocols::VERIFY_SUSPECT::up(), org::jgroups::protocols::SMACK::up(), org::jgroups::protocols::FD_SIMPLE::up(), org::jgroups::protocols::BSH::up(), org::jgroups::protocols::FD_SOCK::up(), org::jgroups::protocols::Discovery::up(), and org::jgroups::protocols::VERIFY_SUSPECT::verifySuspect().

                                                  {
        header_lock.writeLock().lock();
        try {
            headers.put(key, hdr);
        }
        finally {
            header_lock.writeLock().unlock();
        }
    }


Generated by  Doxygen 1.6.0   Back to index