mirror of https://github.com/apache/druid.git
add explicit type names
This commit is contained in:
parent
350bb09605
commit
10aa8a2d56
|
@ -21,8 +21,8 @@ package io.druid.metadata;
|
||||||
|
|
||||||
public interface MetadataStorageActionHandlerFactory
|
public interface MetadataStorageActionHandlerFactory
|
||||||
{
|
{
|
||||||
public <A,B,C,D> MetadataStorageActionHandler<A,B,C,D> create(
|
public <EntryType, StatusType, LogType, LockType> MetadataStorageActionHandler<EntryType, StatusType, LogType, LockType> create(
|
||||||
final String entryType,
|
final String entryType,
|
||||||
MetadataStorageActionHandlerTypes<A, B, C, D> payloadTypes
|
MetadataStorageActionHandlerTypes<EntryType, StatusType, LogType, LockType> payloadTypes
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,10 +21,10 @@ package io.druid.metadata;
|
||||||
|
|
||||||
import com.fasterxml.jackson.core.type.TypeReference;
|
import com.fasterxml.jackson.core.type.TypeReference;
|
||||||
|
|
||||||
public interface MetadataStorageActionHandlerTypes<A,B,C,D>
|
public interface MetadataStorageActionHandlerTypes<EntryType, StatusType, LogType, LockType>
|
||||||
{
|
{
|
||||||
public TypeReference<A> getEntryType();
|
public TypeReference<EntryType> getEntryType();
|
||||||
public TypeReference<B> getStatusType();
|
public TypeReference<StatusType> getStatusType();
|
||||||
public TypeReference<C> getLogType();
|
public TypeReference<LogType> getLogType();
|
||||||
public TypeReference<D> getLockType();
|
public TypeReference<LockType> getLockType();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue