GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

io.mcarle.sciurus.cache.CustomCache   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 12
ccs 2
cts 2
cp 1
rs 10
wmc 2

4 Methods

Rating   Name   Duplication   Size   Complexity  
put(ExecutionIdentifier,Serializable,Duration) 0 1 ?
A postDeregister() 0 1 1
A preRegister() 0 1 1
get(ExecutionIdentifier) 0 1 ?
1
package io.mcarle.sciurus.cache;
2
3
import io.mcarle.sciurus.ExecutionIdentifier;
4
5
import java.io.Serializable;
6
import java.time.Duration;
7
8
public interface CustomCache {
9
10 1
    Object EMPTY = new Object();
11
12
    Object get(ExecutionIdentifier executionIdentifier);
13
14
    void put(ExecutionIdentifier executionIdentifier, Serializable result, Duration duration);
15
16
    default void preRegister() {
17 1
    }
18
19
    default void postDeregister() {
20 1
    }
21
22
}
23