Clover icon

sunshower-sdk

  1. Project Clover database Wed Apr 4 2018 21:39:43 UTC
  2. Package io.sunshower.sdk.v1.core

File FlakeIdentifierEndpoint.java

 

Coverage histogram

../../../../../img/srcFileCovDistChart10.png
0% of files have more coverage

Code metrics

0
1
1
1
13
10
1
1
1
1
1

Classes

Class Line # Actions
FlakeIdentifierEndpoint 7 1 1
1.0100%
 

Contributing tests

This file is covered by 1 test. .

Source view

1    package io.sunshower.sdk.v1.core;
2   
3    import io.sunshower.common.Identifier;
4    import io.sunshower.persistence.core.DistributableEntity;
5    import io.sunshower.sdk.core.IdentifierEndpoint;
6   
 
7    public class FlakeIdentifierEndpoint implements IdentifierEndpoint {
8   
 
9  1 toggle @Override
10    public Identifier create() {
11  1 return DistributableEntity.sequence.next();
12    }
13    }