AbortFW, ArrayFW, BeginFW, CapabilityFW, ChallengeFW, CommandFW, DataFW, EndFW, ErrorFW, ExtensionFW, FrameFW, FreezeFW, FrozenFW, HttpBeginExFW, HttpChallengeExFW, HttpDataExFW, HttpEndExFW, HttpHeaderFW, HttpRouteExFW, OAuthResolveExFW, OctetsFW, ResetFW, ResolvedFW, ResolveFW, ResponseFW, RoleFW, RoutedFW, RouteEntryFW, RouteFW, RouteTableFW, SignalFW, String16FW, String32FW, StringFW, UnresolvedFW, UnresolveFW, UnroutedFW, UnrouteFW, Varint32FW, Varint64FW, WindowFWpublic abstract class Flyweight
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
Flyweight.Builder<T extends Flyweight> |
|
static interface |
Flyweight.Visitor<T> |
| Constructor | Description |
|---|---|
Flyweight() |
| Modifier and Type | Method | Description |
|---|---|---|
org.agrona.DirectBuffer |
buffer() |
|
protected static void |
checkLimit(int limit,
int maxLimit) |
|
boolean |
equals(java.lang.Object obj) |
|
int |
hashCode() |
|
abstract int |
limit() |
|
protected int |
maxLimit() |
|
int |
offset() |
|
int |
sizeof() |
|
Flyweight |
tryWrap(org.agrona.DirectBuffer buffer,
int offset,
int maxLimit) |
|
Flyweight |
wrap(org.agrona.DirectBuffer buffer,
int offset,
int maxLimit) |
public final int offset()
public final org.agrona.DirectBuffer buffer()
public abstract int limit()
public final int sizeof()
protected final int maxLimit()
public Flyweight tryWrap(org.agrona.DirectBuffer buffer, int offset, int maxLimit)
public Flyweight wrap(org.agrona.DirectBuffer buffer, int offset, int maxLimit)
protected static final void checkLimit(int limit,
int maxLimit)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2019. All rights reserved.