Package | Description |
---|---|
com.yahoo.fs4.mplex | |
com.yahoo.prelude.fastsearch |
Modifier and Type | Method and Description |
---|---|
protected void |
FS4Channel.addPacket(BasicPacket packet)
Add incoming packet to the response queue.
|
private void |
FS4Channel.ensureValid()
This method is called whenever we want to perform an operation
which assumes that the FS4Channel object is valid.
|
private BlockingQueue<BasicPacket> |
FS4Channel.ensureValidQ()
This method is called whenever we want to perform an operation
which assumes that the FS4Channel object is valid.
|
BasicPacket |
FS4Channel.nextPacket(long timeout)
Return the next available packet from the response queue.
|
BasicPacket[] |
FS4Channel.receivePackets(long timeout,
int packetCount)
Receives the given number of packets and returns them, OR
Returns a smaller number of packets if an error or eol packet is received
Throws a ChannelTimeoutException if timeout occurs before all packets
are received.
|
boolean |
FS4Channel.sendPacket(BasicPacket packet)
Legacy interface.
|
Modifier and Type | Method and Description |
---|---|
private Packet[] |
FastSearcher.fetchSummaries(FS4Channel channel,
Result result,
String summaryClass) |
Copyright © 2018. All rights reserved.