Skip to content

Instantly share code, notes, and snippets.

@sri-rang
Created March 10, 2011 17:22
Show Gist options
  • Save sri-rang/864499 to your computer and use it in GitHub Desktop.
Save sri-rang/864499 to your computer and use it in GitHub Desktop.
IndexKeywordsJob.scala
package net.srirangan.simplewebcrawler.jobs
import java.lang.String
import org.gridgain.grid.GridJobAdapterEx
import org.gridgain.scalar.scalar._
class IndexKeywordsJob(data:String) extends GridJobAdapterEx {
def execute():Object = {
println(data)
// .. actual indexing logic comes here
null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment