public class FindNonExpiredSessionsTask extends Object implements DistributedTask<HashSet<String>,HashSet<String>>, Externalizable
Constructor and Description |
---|
FindNonExpiredSessionsTask()
Required for @
Externalizable |
FindNonExpiredSessionsTask(Set<String> candidates,
String contextPath,
String vhost,
long managedExpiry,
long unmanagedExpiry) |
Modifier and Type | Method and Description |
---|---|
HashSet<String> |
execute()
Computes a result, or throws an exception if unable to do so.
|
void |
readExternal(ObjectInput in) |
HashSet<String> |
reduce(List<AsyncResult<HashSet<String>>> asyncResults) |
void |
writeExternal(ObjectOutput out) |
public FindNonExpiredSessionsTask()
Externalizable
public HashSet<String> execute() throws Exception
Task
public HashSet<String> reduce(List<AsyncResult<HashSet<String>>> asyncResults) throws Exception
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.