public class AddTypeIndexesRequestInfo extends AbstractSpaceRequestInfo implements ISwapExternalizable
Constructor and Description |
---|
AddTypeIndexesRequestInfo()
Required for Externalizable
|
AddTypeIndexesRequestInfo(String typeName,
SpaceIndex[] indexes,
AsyncFutureListener<AddTypeIndexesResult> listener) |
Modifier and Type | Method and Description |
---|---|
SpaceIndex[] |
getIndexes() |
AsyncFutureListener<AddTypeIndexesResult> |
getListener() |
String |
getTypeName() |
void |
readExternal(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
AddTypeIndexesResult |
reduce(List<AsyncResult<AddTypeIndexesResult>> results) |
void |
setListener(AsyncFutureListener<AddTypeIndexesResult> listener) |
void |
writeExternal(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
getSpaceContext, isFromGateway, setFromGateway, setSpaceContext
public AddTypeIndexesRequestInfo()
public AddTypeIndexesRequestInfo(String typeName, SpaceIndex[] indexes, AsyncFutureListener<AddTypeIndexesResult> listener)
public String getTypeName()
public SpaceIndex[] getIndexes()
public AsyncFutureListener<AddTypeIndexesResult> getListener()
public void setListener(AsyncFutureListener<AddTypeIndexesResult> listener)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractSpaceRequestInfo
IOException
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface ISwapExternalizable
writeToSwap
in class AbstractSpaceRequestInfo
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractSpaceRequestInfo
IOException
ClassNotFoundException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface ISwapExternalizable
readFromSwap
in class AbstractSpaceRequestInfo
IOException
ClassNotFoundException
public AddTypeIndexesResult reduce(List<AsyncResult<AddTypeIndexesResult>> results) throws Exception
Exception
Copyright © GigaSpaces.