Package | Description |
---|---|
com.yahoo.fs4 | |
com.yahoo.fs4.mplex | |
com.yahoo.prelude.fastsearch |
Modifier and Type | Class and Description |
---|---|
class |
DocsumPacket
An "extended query result" packet.
|
class |
EolPacket
A EOL packet signaling end of transmission.
|
class |
ErrorPacket
An error packet signaling that an error occurred.
|
class |
GetDocSumsPacket
A packet for requesting a list of document summaries.
|
class |
Packet
Superclass of fs4 packets containing channel/query ID
|
class |
PingPacket
A ping packet for FS4.
|
class |
PongPacket
A pong packet for FS4.
|
class |
QueryPacket
An "extended query" packet.
|
class |
QueryResultPacket
A query result packet (code 217).
|
Modifier and Type | Field and Description |
---|---|
BasicPacket |
PacketDecoder.DecodedPacket.packet |
Modifier and Type | Method and Description |
---|---|
BasicPacket |
Packet.decode(ByteBuffer buffer)
Fills this package from a byte buffer positioned at the first
byte of the package
|
static BasicPacket |
PacketDecoder.decode(ByteBuffer buffer)
Returns the package starting at the current position in the buffer
|
BasicPacket |
BasicPacket.decode(ByteBuffer buffer)
Fills this package from a byte buffer positioned at the first byte of the package
|
BasicPacket |
BasicPacket.encode(ByteBuffer buffer)
Encodes this package onto the given buffer at the current position.
|
Modifier and Type | Method and Description |
---|---|
void |
PacketQueryTracer.packetReceived(FS4Channel channel,
BasicPacket packet,
ByteBuffer serializedForm) |
void |
PacketDumper.packetReceived(FS4Channel channel,
BasicPacket packet,
ByteBuffer serializedForm) |
void |
PacketListener.packetReceived(FS4Channel channel,
BasicPacket packet,
ByteBuffer serializedForm) |
void |
PacketNotificationsBroadcaster.packetReceived(FS4Channel channel,
BasicPacket packet,
ByteBuffer serializedForm) |
void |
PacketQueryTracer.packetSent(FS4Channel channel,
BasicPacket packet,
ByteBuffer serializedForm) |
void |
PacketDumper.packetSent(FS4Channel channel,
BasicPacket packet,
ByteBuffer serializedForm) |
void |
PacketListener.packetSent(FS4Channel channel,
BasicPacket packet,
ByteBuffer serializedForm) |
void |
PacketNotificationsBroadcaster.packetSent(FS4Channel channel,
BasicPacket packet,
ByteBuffer serializedForm) |
Modifier and Type | Method and Description |
---|---|
void |
BasicPacket.ensureInstanceOf(Class<? extends BasicPacket> type,
String name)
Throws an IOException if the packet is not of the expected type
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FS4Channel.addPacket(BasicPacket packet)
Add incoming packet to the response queue.
|
protected void |
Backend.receivePacket(BasicPacket packet)
When a connection receives a packet, it uses this method to
dispatch the packet to the right FS4Channel.
|
boolean |
FS4Channel.sendPacket(BasicPacket packet)
Legacy interface.
|
protected boolean |
Backend.sendPacket(BasicPacket packet,
Integer channelId) |
void |
FS4Connection.sendPacket(BasicPacket packet,
Integer channelId)
Packet sending interface.
|
Modifier and Type | Method and Description |
---|---|
List<BasicPacket> |
PacketWrapper.getResultPackets()
Only for testing.
|
Modifier and Type | Method and Description |
---|---|
void |
PacketWrapper.addDocsums(DocsumPacketKey[] packetKeys,
BasicPacket[] bpackets,
int offset) |
Constructor and Description |
---|
PacketWrapper(CacheKey key,
BasicPacket[] packets)
Only used by PacketCacheTestCase, should not be used otherwise
|
PacketWrapper(CacheKey key,
DocsumPacketKey[] packetKeys,
BasicPacket[] bpackets,
Optional<Integer> distributionKey) |
Copyright © 2018. All rights reserved.