org.apache.flink.runtime.state.ttl.TtlValue Java Examples
The following examples show how to use
org.apache.flink.runtime.state.ttl.TtlValue.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RocksDbTtlCompactFiltersManager.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
private long nextElementLastAccessTimestamp() throws IOException { TtlValue<?> ttlValue = (TtlValue<?>) serializer.deserialize(input); if (input.available() > 0) { input.skipBytesToRead(1); } return ttlValue.getLastAccessTimestamp(); }
Example #2
Source File: RocksDbTtlCompactFiltersManager.java From flink with Apache License 2.0 | 5 votes |
private long nextElementLastAccessTimestamp() throws IOException { TtlValue<?> ttlValue = (TtlValue<?>) serializer.deserialize(input); if (input.available() > 0) { input.skipBytesToRead(1); } return ttlValue.getLastAccessTimestamp(); }
Example #3
Source File: RocksDbTtlCompactFiltersManager.java From flink with Apache License 2.0 | 5 votes |
private long nextElementLastAccessTimestamp() throws IOException { TtlValue<?> ttlValue = (TtlValue<?>) serializer.deserialize(input); if (input.available() > 0) { input.skipBytesToRead(1); } return ttlValue.getLastAccessTimestamp(); }