@Component(value="application-datatype-cache") public class ApplicationDataTypeCache extends Object implements ApplicationCache<DataTypeDefinition>, Runnable
Constructor and Description |
---|
ApplicationDataTypeCache() |
Modifier and Type | Method and Description |
---|---|
fj.data.Either<DataTypeDefinition,TitanOperationStatus> |
get(String uniqueId) |
fj.data.Either<Map<String,DataTypeDefinition>,TitanOperationStatus> |
getAll() |
void |
init() |
void |
run() |
@PostConstruct public void init()
public fj.data.Either<Map<String,DataTypeDefinition>,TitanOperationStatus> getAll()
getAll
in interface ApplicationCache<DataTypeDefinition>
public fj.data.Either<DataTypeDefinition,TitanOperationStatus> get(String uniqueId)
get
in interface ApplicationCache<DataTypeDefinition>
Copyright © 2017. All rights reserved.