public interface ResourceRepository<R extends Resource>
| Modifier and Type | Method and Description |
|---|---|
R |
findResourceBy(byte[] md5,
long size,
ResourceType type) |
void |
save(Resource resource) |
void save(@Nonnull
Resource resource)
throws java.lang.Exception
java.lang.Exception@Nullable R findResourceBy(@Nonnull byte[] md5, @Nonnegative long size, @Nonnull ResourceType type)
Copyright © 2015 echocat. All Rights Reserved.