HandlerJobBuilder to build jobs to handle GarlicMessages
This is essentially unused, as InNetMessagePool short circuits tunnel messages,
and the garlics are handled in InboundMessageDistributor.
What was the average value across the events in the last period?
Warning - unsynchronized, might glitch during coalesce, caller may prevent by synchronizing on this.
Retrieve a set of bids for a particular outbound message, and if any are found
that meet the message's requirements, register the message as in process and
pass it on to the transport for processing
Grab a list of message ids (Long) that we want to send to the remote
peer, regardless of the packet size, but don't remove it from our
"want to send" list.
Grab a list of message ids (Long) that we want to send to the remote
peer, regardless of the packet size, but don't remove it from our
"want to send" list.
how many new peers we get from dbSearchReplyMessages or dbStore messages, calculated over a 1 hour, 1 day, and 1 week period
Warning - may return null if !getIsExpandedDB()
how long it takes to get a db response from the peer (in milliseconds), calculated over a 1 minute, 1 hour, and 1 day period
Warning - may return null if !getIsExpandedDB()
Specify the # ms since the epoch after which if the message has not been
sent the OnFailedSend job should be fired and the message should be
removed from the pool.
when the max(totalValue) was achieved, how many events occurred in that period?
Note that this is not necesarily the highest event count; that isn't tracked.
getInfo() -
Static method in class freenet.support.CPUInformation.CPUID
Returns a CPUInfo item for the current type of CPU
If I could I would declare this method in a interface named
CPUInfoProvider and implement that interface in this class.
Is this peer active at the moment (sending/receiving messages within the
given period?)
Also mark active if it is connected, as this will tend to encourage use
of already-connected peers.
During the last period, how much of the time was spent actually processing events in proportion
to how many events could have occurred if there were no intervals?
using the last period's rate, what is the total value that could have been sent
if events were constant?
Warning - unsynchronized, might glitch during coalesce, caller may prevent by synchronizing on this.
How long this transport thinks it would take to send the message
This is the actual bid value, lower is better, and it doesn't really have
anything to do with latency.
What was the average value across the events since the stat was created?
Warning - unsynchronized, might glitch during coalesce, caller may prevent by synchronizing on this.
During the lifetime of this stat, how much of the time was spent actually processing events in proportion
to how many events could have occurred if there were no intervals?
Warning - unsynchronized, might glitch during coalesce, caller may prevent by synchronizing on this.
Access the configuration attributes of this context, listing the properties
provided during the context construction, as well as the ones included in
System.getProperties.
Access the configuration attributes of this context, using properties
provided during the context construction, or falling back on
System.getProperty if no properties were provided during construction
(or the specified prop wasn't included).
Access the configuration attributes of this context, using properties
provided during the context construction, or falling back on
System.getProperty if no properties were provided during construction
(or the specified prop wasn't included).
Access the configuration attributes of this context, listing the properties
provided during the context construction, as well as the ones included in
System.getProperties.
Retrieve the approximate date on which the info was published
(essentially a version number for the routerInfo structure, except that
it also contains freshness information - whether or not the router is
currently publishing its information).
If a reply is desired, this token specifies the message ID that should
be used for a DeliveryStatusMessage to be sent to the reply tunnel on the
reply gateway.
Guess we have to override this since
super doesn't strip the http://host from the GET line
which hoses some servers (opentracker)
HTTP proxy was kind enough to do this for us
Do we want all packets in both directions to be signed,
or can we deal with signatures on the SYN and FIN packets
only?
There is no property name defined for this, so it's safe to
say this is unused and always false.
We override this instead of passing a resource base to super(), because
if a resource base is set, super.getResource() always uses that base,
and we can't get any resources (like icons) out of the .war
Generate a modified (yet consistent) hash from the origKey by generating the
SHA256 of the targetKey with the current modData appended to it, *then*
This makes Sybil's job a lot harder, as she needs to essentially take over the
whole keyspace.
If we have 3 consecutive rtt increases, we are trending upwards (1), or if we have
3 consecutive rtt decreases, we are trending downwards (-1), else we're stable.
if there are packets we haven't ACKed yet and we don't
receive _receiveWindow messages before
(_lastSendTime+_sendAckDelay), send an ACK of what
we have received so far.
how long it takes to get a tunnel create response from the peer (in milliseconds), calculated over a 1 minute, 1 hour, and 1 day period
Warning - may return null if !getIsExpanded()
how long it takes to successfully test a tunnel this peer participates in (in milliseconds), calculated over a 10 minute, 1 hour, and 1 day period
Warning - may return null if !getIsExpanded()
if we are serving as an introducer to them, this is the the tag that
they can publish that, when presented to us, will cause us to send
a relay introduction to the current peer