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()
Externalizablepublic HashSet<String> execute() throws Exception
Taskpublic HashSet<String> reduce(List<AsyncResult<HashSet<String>>> asyncResults) throws Exception
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.