forked from tronprotocol/java-tron
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCheckTmpStore.java
More file actions
49 lines (38 loc) · 1.02 KB
/
CheckTmpStore.java
File metadata and controls
49 lines (38 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package org.tron.core.db;
import com.google.protobuf.InvalidProtocolBufferException;
import java.util.Spliterator;
import java.util.function.Consumer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;
import org.tron.core.exception.BadItemException;
import org.tron.core.exception.ItemNotFoundException;
@Component
public class CheckTmpStore extends TronDatabase<byte[]> {
@Autowired
public CheckTmpStore(ApplicationContext ctx) {
super("tmp");
}
@Override
public void put(byte[] key, byte[] item) {
}
@Override
public void delete(byte[] key) {
}
@Override
public byte[] get(byte[] key)
throws InvalidProtocolBufferException, ItemNotFoundException, BadItemException {
return null;
}
@Override
public boolean has(byte[] key) {
return false;
}
@Override
public void forEach(Consumer action) {
}
@Override
public Spliterator spliterator() {
return null;
}
}