-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #193 from entur/prettier
Prettier
- Loading branch information
Showing
139 changed files
with
7,539 additions
and
6,132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
package org.entur.lamassu.cache; | ||
|
||
import org.entur.lamassu.model.entities.Entity; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
import java.util.Set; | ||
import java.util.concurrent.TimeUnit; | ||
import org.entur.lamassu.model.entities.Entity; | ||
|
||
public interface EntityCache<T extends Entity> { | ||
List<T> getAll(Set<String> keys); | ||
List<T> getAll(); | ||
Map<String, T> getAllAsMap(Set<String> keys); | ||
T get(String key); | ||
void updateAll(Map<String, T> entities, int ttl, TimeUnit timeUnit); | ||
void removeAll(Set<String> keys); | ||
boolean hasKey(String key); | ||
List<T> getAll(Set<String> keys); | ||
List<T> getAll(); | ||
Map<String, T> getAllAsMap(Set<String> keys); | ||
T get(String key); | ||
void updateAll(Map<String, T> entities, int ttl, TimeUnit timeUnit); | ||
void removeAll(Set<String> keys); | ||
boolean hasKey(String key); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,4 @@ | |
|
||
package org.entur.lamassu.cache; | ||
|
||
public interface SpatialIndexId { | ||
} | ||
public interface SpatialIndexId {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.