add explicit type names

This commit is contained in:
Xavier Léauté 2014-11-06 17:07:24 -08:00
parent 350bb09605
commit 10aa8a2d56
2 changed files with 7 additions and 7 deletions

View File

@ -21,8 +21,8 @@ package io.druid.metadata;
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,
MetadataStorageActionHandlerTypes<A, B, C, D> payloadTypes
MetadataStorageActionHandlerTypes<EntryType, StatusType, LogType, LockType> payloadTypes
);
}

View File

@ -21,10 +21,10 @@ package io.druid.metadata;
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<B> getStatusType();
public TypeReference<C> getLogType();
public TypeReference<D> getLockType();
public TypeReference<EntryType> getEntryType();
public TypeReference<StatusType> getStatusType();
public TypeReference<LogType> getLogType();
public TypeReference<LockType> getLockType();
}