1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package io.netty.handler.codec.redis;
17
18 import io.netty.buffer.ByteBuf;
19 import io.netty.util.internal.UnstableApi;
20
21
22
23
24 @UnstableApi
25 public final class DefaultLastBulkStringRedisContent extends DefaultBulkStringRedisContent
26 implements LastBulkStringRedisContent {
27
28
29
30
31
32 public DefaultLastBulkStringRedisContent(ByteBuf content) {
33 super(content);
34 }
35
36 @Override
37 public LastBulkStringRedisContent copy() {
38 return (LastBulkStringRedisContent) super.copy();
39 }
40
41 @Override
42 public LastBulkStringRedisContent duplicate() {
43 return (LastBulkStringRedisContent) super.duplicate();
44 }
45
46 @Override
47 public LastBulkStringRedisContent retainedDuplicate() {
48 return (LastBulkStringRedisContent) super.retainedDuplicate();
49 }
50
51 @Override
52 public LastBulkStringRedisContent replace(ByteBuf content) {
53 return new DefaultLastBulkStringRedisContent(content);
54 }
55
56 @Override
57 public LastBulkStringRedisContent retain() {
58 super.retain();
59 return this;
60 }
61
62 @Override
63 public LastBulkStringRedisContent retain(int increment) {
64 super.retain(increment);
65 return this;
66 }
67
68 @Override
69 public LastBulkStringRedisContent touch() {
70 super.touch();
71 return this;
72 }
73
74 @Override
75 public LastBulkStringRedisContent touch(Object hint) {
76 super.touch(hint);
77 return this;
78 }
79 }